![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi does anyone know what the commands are for the mvBase Debugger Thanks, Rowland |
#3
| |||
| |||
|
|
From memory, the key ones are : E[n] - no of lines to execute before hitting the debugger again (ie E1 will set the debugger to line by line execution. E on it's own sets for unlimited lines G - Continue execution for no of lines set by E command. /var - displays the contents of variable var /var=xxx - sets variable var to xxx B$=999 - sets a a breakpoint at line no (999 in this case) |
|
I think thats enough to get you going! |
#4
| |||
| |||
|
|
Anything else thats needed? |
|
- anything following the chevron is interpreted as a TCL command, which allows you to use ED or LIST without leaving the debugger. |
#5
| |||
| |||
|
|
Simon Verona once wrote in <42f29acd$0$91511$ed2e19e4@ptn-nntp- reader04.plus.net>... From memory, the key ones are : E[n] - no of lines to execute before hitting the debugger again (ie E1 will set the debugger to line by line execution. E on it's own sets for unlimited lines G - Continue execution for no of lines set by E command. /var - displays the contents of variable var /var=xxx - sets variable var to xxx B$=999 - sets a a breakpoint at line no (999 in this case) Once you're at the debug prompt, do E1 to set single step. CTRL-J will then execute a line at a time instead of G (the two are probably interchangeable). E0 goes back to regular execution. S1-20 displays source lines 1 through 20. If the debugger hasn't been able to find the source, you can override that with the Z command, i.e. Z filename item If you're brave, /* dumps all used variables. Beware any that contain screen positioning codes! You can also break on a variable value. '$' (as mentioned by Simon) is a special case for line number. If you wanted to stop when I=42, it's BI=42 From memory, 'Kx' kills breakpoint 'x'. There's also a trace feature which may just be T<variable> to automatically dump <variable> at each break point. '>>>' will, again from memory get you into a TCL shell whilst keeping the debug process going. '<<' gets you back out. Take these with a pinch of salt - I use this feature infrequently. I think thats enough to get you going! ...plus a bit :-) -- David Morris |
![]() |
| Thread Tools | |
| Display Modes | |
| |