Make UI for debugger breakpoint conditions easier to access
I frequently use Options on a breakpoint to break only when a particular condition is met, but setting this up is particularly cumbersome:
1. The option is only available in the debugger, not in the code editor where I can set my breakpoint.
2. In the IDE, even if I use the Browse > Breakpoints option, it doesn't allow me to set the condition on the breakpoint.
3. In the debugger, to set my condition on a breakpoint I have to use the Breakpoints > Show all breakpoints menu option, which then shows me a Breakpoints window. Then I have to locate the actual breakpoint I'm interested in then right-click to select Breakpoint Options then finally fill out my condition.
Ideally I'd be able to set a condition when I set a breakpoint - whether that be in the IDE or in the debugger. I'd like to be able to right-click on the line I've set the breakpoint on and set the condition right there. This is how Visual Studio, and most web browser developer tools work.
Additionally, in the debugger, when browsing breakpoints it would be nice if the currently stopped-at breakpoint was highlighted in the Breakpoints window.
HistoricalComments
Brian Johnstone 28/11/2018 11:12:44 AM It would also be good if the 'text box' for entering the condition details could be a 'real' editor with an Autocomplete context that includes local variables and parameters for the method.
Blake De?Ath 27/11/2018 9:52:08 AM Upvoted. What I have to do in the meantime is add an if statement checking for the condition, then a nested if (if false then) or write statement with the breakpoint set on that line. If this was implemented I wouldn't have to temporarily change the source code when debugging.
|