Lisp HUG Maillist Archive

breakpoint

Hi.
 
Why I can't set breakpoint anywhere ?
I get:
No definition found.
Where is the problem ?
 
Thanks

Re: breakpoint

Hello Haris,

Can you post an example of your code?

Camille


On 10 Jan 2014, at 14:55, Haris Bogdanovich <fbogdanovic@xnet.hr> wrote:

Hi.
 
Why I can't set breakpoint anywhere ?
I get:
No definition found.
Where is the problem ?
 
Thanks

Re: breakpoint

This took me quite a while to learn and once I did I realized how much cooler the LW breakpoint system was than I originally thought.

I've found that most of the time you can't set a breakpoint (on a symbol) it's because that symbol is either a special operator (e.g. if) or a macro (e.g. setf).

When that happens, simply set the breakpoint on the open parenthesis '(' instead of the function call. That will set the breakpoint immediately before that function is about to be called, which is even better, because you can step through each of the arguments as well - or you can just straight to the call.

Does this help?

Jeff M.

Haris Bogdanovich
Friday, January 10, 2014 7:55 AM
Hi.
 
Why I can't set breakpoint anywhere ?
I get:
No definition found.
Where is the problem ?
 
Thanks
Updated at: 2020-12-10 08:34 UTC