Skip to content
Snippets Groups Projects
Commit f68d6fcf authored by brutzman's avatar brutzman
Browse files

debugging support for thread sleep

parent 73fd25a7
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ public class AllPduSender ...@@ -46,7 +46,7 @@ public class AllPduSender
System.out.println("OpenDis7Examples.AllPduSender started..."); System.out.println("OpenDis7Examples.AllPduSender started...");
try try
{ {
System.out.println("Generate PDUs and note issues, if any..."); System.out.println("Generate list of all PDU types and note issues, if any...");
List<Pdu> generatedPdusList = new ArrayList<>(); List<Pdu> generatedPdusList = new ArrayList<>();
// Loop through all the enumerated PDU types, create a PDU for each type, // Loop through all the enumerated PDU types, create a PDU for each type,
...@@ -446,6 +446,8 @@ public class AllPduSender ...@@ -446,6 +446,8 @@ public class AllPduSender
String currentPduTypePadded = String.format("%-50s", aPdu.getPduType().toString()); // - indicates right padding of whitespace String currentPduTypePadded = String.format("%-50s", aPdu.getPduType().toString()); // - indicates right padding of whitespace
System.out.print ("Sent DIS PDU " + currentPduTypeValuePadded + " " + currentPduTypePadded ); System.out.print ("Sent DIS PDU " + currentPduTypeValuePadded + " " + currentPduTypePadded );
System.out.println(" of type " + aPdu.getClass().getName()); System.out.println(" of type " + aPdu.getClass().getName());
// Thread.sleep(1000); // pause for debugging
} }
catch (Exception ex) { catch (Exception ex) {
System.out.println("Marshaling error" + ex); System.out.println("Marshaling error" + ex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment