Grouping breakpoints?
-
I'm a part time programming student and suddenly find myself debugging a rather complex program at work. I use a lot of breakpoints in the process, and have different sets of breakpoints depending on the problem I'm chasing. Currently, I use the breakpoints window to activate/deactivate the set that I need to work with, and it's not very efficient. There must be a better way to deal with this. Is there any way to save the current breakpoints and then load them again later? Any help would be greatly appreciated. :)
-
I'm a part time programming student and suddenly find myself debugging a rather complex program at work. I use a lot of breakpoints in the process, and have different sets of breakpoints depending on the problem I'm chasing. Currently, I use the breakpoints window to activate/deactivate the set that I need to work with, and it's not very efficient. There must be a better way to deal with this. Is there any way to save the current breakpoints and then load them again later? Any help would be greatly appreciated. :)
You could probably do this using condition break points. If you right click on your breakpoint and do set conditions you can type in a few lines of code. You could probably say set a variable iDebugMode then set the break point condition to iDebugMode == 0 etc.
-
You could probably do this using condition break points. If you right click on your breakpoint and do set conditions you can type in a few lines of code. You could probably say set a variable iDebugMode then set the break point condition to iDebugMode == 0 etc.