HP Forums
[prime] Insert a breakpoint in a program for debugging ? - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: [prime] Insert a breakpoint in a program for debugging ? (/thread-255280.html)



[prime] Insert a breakpoint in a program for debugging ? - Olivier Lecluse - 11-09-2013

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 ? - Tim Wessman - 11-09-2013

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


Re: [prime] Insert a breakpoint in a program for debugging ? - Olivier Lecluse - 11-09-2013

So simple ! Thank you


Re: [prime] Insert a breakpoint in a program for debugging ? - Joseph Ec - 11-09-2013

Hi Tim,

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

Best regards!!

joseph