Tuesday, August 6, 2013

Conditional Breakpoint Exaple in Visual Studio 2010

I was looking for a few bad HL7 messages by control ID in this processor that we're coding.  Here's one way to get the debugger to stop on a break point on condition.  In this case I set up a bool that is set to True when any of the control IDs come into the main loop.  Add a breakpoint.  Right click on this breakpoint and select Condition.  Type in the name of the bool that you have set up and select Is True radio option.




No comments: