Debugger problems

Q&A's, tips, howto's
Post Reply
Maurizio
Posts: 52
Joined: Mon Jul 28, 2003 3:06 pm
Location: Italy

Debugger problems

Post by 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
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

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

Post Reply