The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

[prime] Insert a breakpoint in a program for debugging ?
Message #1 Posted by Olivier Lecluse on 9 Nov 2013, 6:54 a.m.

Hello

I want to stop a program at a specific place in order to debug it step by step from a specific point ?

with the Debug function, it is too long to execute the program step by step until it reaches the location I want to inspect.

Is there a way to stop and debug a orogram from a specific location in the program ? I have tried the halt function but with no success

      
Re: [prime] Insert a breakpoint in a program for debugging ?
Message #2 Posted by Tim Wessman on 9 Nov 2013, 9:42 a.m.,
in response to message #1 by Olivier Lecluse

Put debug () at the point you'd like to stop.

            
Re: [prime] Insert a breakpoint in a program for debugging ?
Message #3 Posted by Olivier Lecluse on 9 Nov 2013, 11:32 a.m.,
in response to message #2 by Tim Wessman

So simple ! Thank you

            
Re: [prime] Insert a breakpoint in a program for debugging ?
Message #4 Posted by Joseph Ec on 9 Nov 2013, 9:41 p.m.,
in response to message #2 by Tim Wessman

Hi Tim,

really so easy, I tried HALT(); As is indicated in the help...

Best regards!!

joseph


[ Return to Index | Top of Index ]

Go back to the main exhibit hall