An experimental run-time debugger is available under http://blackboxframework.org/unstable/i ... 1.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
experimental run-time debugger available for preview
-
- Posts: 263
- Joined: Tue Sep 17, 2013 6:50 am
Re: experimental run-time debugger available for preview
1,start bb with a bat file cant work
2,how to set a breakpoint? at where?
luowy
2,how to set a breakpoint? at where?
luowy
-
- Posts: 263
- Joined: Tue Sep 17, 2013 6:50 am
Re: experimental run-time debugger available for preview
I have fixed a problem with empty startupDir when calling BlackBox.exe e.g. from the local directory.luowy wrote:1,start bb with a bat file cant work
2,how to set a breakpoint? at where?
luowy
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/i ... 1.1024.zip.
- Josef
-
- Posts: 263
- Joined: Tue Sep 17, 2013 6:50 am
Re: experimental run-time debugger available for preview
luowy,luowy wrote:1,start bb with a bat file cant work
2,how to set a breakpoint? at where?
luowy
did the update solve your problem?
Did you find out how to set breakpoints?
- Josef
Re: experimental run-time debugger available for preview
yes, it is workable,I know how to set(unset)breakpoint also.Josef Templ wrote: luowy,
did the update solve your problem?
Did you find out how to set breakpoints?
- Josef
thanks!