Debugger problems

Q&A's, tips, howto's

Debugger problems

Postby Maurizio » Mon Jul 28, 2003 3:12 pm

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
Maurizio
 
Posts: 52
Joined: Mon Jul 28, 2003 3:06 pm
Location: Italy

Postby Lutz » Wed Jul 30, 2003 6:40 pm

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


Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 1 guest