Handler behaves like debugging despite breakpoint removed

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kresten
Posts: 153
Joined: Tue Sep 30, 2008 3:01 pm
Contact:

Handler behaves like debugging despite breakpoint removed

Post by kresten »

A long handler in a substack continues, when called, to behave like debugging, although breakpoint is removed and app been closed, removed from memory and livecode (7.1.0) restarted. It is an old handler, which has been operating perfectly in older Livecode versions. Is this a known phenomenon ? Any suggestions how to escape from this trap ?

Kresten Bjerg, Copenhagen
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Handler behaves like debugging despite breakpoint remove

Post by dunbarx »

Hi.

You run the handler, and it steps into the debugger? And there are no soft or hard breakpoints at all? Does it start at the same line each time?

Craig Newman
kresten
Posts: 153
Joined: Tue Sep 30, 2008 3:01 pm
Contact:

Re: Handler behaves like debugging despite breakpoint remove

Post by kresten »

Yes it starts in the beginning each time.
I have run "Clear all breakpoints".
What is "soft breakpoints" ?

Kresten
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Handler behaves like debugging despite breakpoint remove

Post by Klaus »

Hi Kresten,

a "soft breakpoint" is the red dot that appears when you click the line number in the script editor.
These are not as reliable as writing "breakpoint" (= a hard breakpoint) in the script.

Best

Klaus
kresten
Posts: 153
Joined: Tue Sep 30, 2008 3:01 pm
Contact:

Re: Handler behaves like debugging despite breakpoint remove

Post by kresten »

Hi Klaus
Thank you for Info, but unfortunately no help for solving my stubborn problem.
Best regards

Kresten
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3582
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Handler behaves like debugging despite breakpoint remove

Post by mwieder »

Look at the custom properties of the stack, especially the cREVGeneral propertyset.
If there are any entries in the breakpoints, breakpointconditions, and breakpointstates you will probably want to get rid of them.
Maybe the watches and watchstates as well.
Post Reply