Stop () command for debugger
Posted: Sun Jan 17, 2016 11:05 pm
I'm often comparing PB to VB6 and C, so that wish is again VB6-inspired ^^
The PB debugger lib is awesome and has functional close to JetBrains C++ IDEs, but anyway there are little usability-related things missing which can make it even better.
VB6 has "Stop" command - additional form of breakpoint, stopping program execution for debug when it executed.
It was more handy and useful in many cases than using simple breakpoint.
Now in PB without it you have to write such thing to stop at special condition:
And then additionaly setting breakpoint to that trash code, cause setting it to if/end if is not what you need.
vs
The PB debugger lib is awesome and has functional close to JetBrains C++ IDEs, but anyway there are little usability-related things missing which can make it even better.
VB6 has "Stop" command - additional form of breakpoint, stopping program execution for debug when it executed.
It was more handy and useful in many cases than using simple breakpoint.
Now in PB without it you have to write such thing to stop at special condition:
Code: Select all
If PID = 2600 ; exporer
SomeShitToSetBreakpointOnIt ()
EndIf
vs
Code: Select all
If PID = 2600 ; exporer
Stop () ; and hit Debugger > Continue to continue
EndIf