Page 1 of 1

Stop () command for debugger

Posted: Sun Jan 17, 2016 11:05 pm
by Lunasole
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:

Code: Select all

					If PID = 2600 ; exporer
						SomeShitToSetBreakpointOnIt ()
					EndIf
And then additionaly setting breakpoint to that trash code, cause setting it to if/end if is not what you need.

vs

Code: Select all

					If PID = 2600 ; exporer
						Stop () ; and hit Debugger > Continue to continue
					EndIf

Re: Stop () command for debugger

Posted: Sun Jan 17, 2016 11:11 pm
by STARGÅTE
Do you mean: CallDebugger
This invokes the "debugger" and freezes the program immediately.

Re: Stop () command for debugger

Posted: Mon Jan 18, 2016 2:04 am
by Lunasole
STARGÅTE wrote:Do you mean: CallDebugger
This invokes the "debugger" and freezes the program immediately.
Yes :/
Didn't seen it in docs yet, don't know why