Debugger problems

Started by Maurizio, July 28, 2003, 08:12:58 AM

Previous topic - Next topic

Maurizio

I have some problem with the graphical debugger:

1) It's not immediately clear if the highlited line

is about to be executed or is already executed.

2) When debugging procedures in another context, the new context

name is always showing, making the text near illegible.

Any suggestion ?

Maurizio

Lutz

#1
The output in the console shows you what it just did on the last click. For example if it starts with:



[<- ... ]



then it just came out of the highlighted procedure with the last click. If it says:



[-> .. ]



then it just entered the highlighted procedure.



To avoid the showing of context names before symbols, switch to the context in the console first. Imaging you have the following program



(context 'MYCONTEXT)



(define (test a b c)

.....

.....

)

(context 'MAIN)



In the console swith to MYCONTEXT with:



(context 'MYCONTEXT)



Now open the debugger window and in the console type:



MYCONTEXT> (debug (test 1 2 3))



The debugger always executes from the context of the console.



Lutz