Page 1 of 1

experimental run-time debugger available for preview

PostPosted: Wed May 16, 2018 12:02 pm
by Josef Templ
An experimental run-time debugger is available under http://blackboxframework.org/unstable/issue-%23187/blackbox-1.7.2-a1.1023.zip.

Feed-back is welcome.

Technically the debugger is based on a prototype by ominc, which has been ported to BB1.7 by oberoncore+x512+Ivan.
I have tested the prototype but was not very happy with the user interface. The main problem was that it required to start the
debugger first and attach the debugged BlackBox process to it later. In my opinion, the reverse approach would be more natural,
i.e. while working in BlackBox it should be possible to attach a debugger to it and to debug a command very much like
executing a command directly. A first version of this 'reversed' approach is now available.
The main differences over the ominc prototype are:

- improved user interface: debugger is attached to running BB, no flickering when single-stepping, tool dialog, etc.
- internationalized
- relevant DevDebug changes since BB1.6 applied to RTDebug.

If you want to debug a command M.P then select M.P in a text viewer and execute Dev->Debug Command.
If you want to open a module M in the debugger (e.g. for setting breakpoints) then select M in a text viewer and execute Dev->Debug Module.
Docu is included.

- Josef

Re: experimental run-time debugger available for preview

PostPosted: Thu May 17, 2018 4:28 am
by luowy
1,start bb with a bat file cant work
2,how to set a breakpoint? at where?

luowy

Re: experimental run-time debugger available for preview

PostPosted: Fri May 18, 2018 4:10 pm
by Josef Templ
luowy wrote:1,start bb with a bat file cant work
2,how to set a breakpoint? at where?

luowy


I have fixed a problem with empty startupDir when calling BlackBox.exe e.g. from the local directory.
I hope that this fixes also your problem. If not please describe in more detail.

For setting a breakpoint please see the included Help text.
Press Help in the Debug Tool.
If it is not clear the docu needs to be improved. Let me know.

Get the latest version from http://blackboxframework.org/unstable/issue-%23187/blackbox-1.7.2-a1.1024.zip.

- Josef

Re: experimental run-time debugger available for preview

PostPosted: Tue May 22, 2018 7:26 am
by Josef Templ
luowy wrote:1,start bb with a bat file cant work
2,how to set a breakpoint? at where?

luowy


luowy,
did the update solve your problem?
Did you find out how to set breakpoints?

- Josef

Re: experimental run-time debugger available for preview

PostPosted: Tue May 22, 2018 12:13 pm
by luowy
Josef Templ wrote:luowy,
did the update solve your problem?
Did you find out how to set breakpoints?

- Josef

yes, it is workable,I know how to set(unset)breakpoint also.
thanks!