experimental run-time debugger available for preview

Announces, releases and PayPal balance.

experimental run-time debugger available for preview

Postby Josef Templ » Wed May 16, 2018 12:02 pm

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
Josef Templ
 
Posts: 171
Joined: Tue Sep 17, 2013 6:50 am

Re: experimental run-time debugger available for preview

Postby luowy » Thu May 17, 2018 4:28 am

1,start bb with a bat file cant work
2,how to set a breakpoint? at where?

luowy
luowy
 
Posts: 17
Joined: Thu Dec 17, 2015 1:32 pm

Re: experimental run-time debugger available for preview

Postby Josef Templ » Fri May 18, 2018 4:10 pm

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
Josef Templ
 
Posts: 171
Joined: Tue Sep 17, 2013 6:50 am


Return to News

Who is online

Users browsing this forum: No registered users and 0 guests

cron