Red dot breakpoints do not stick in v9

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Simon Knight
Posts: 854
Joined: Wed Nov 04, 2009 11:41 am
Location: Gunthorpe, North Lincs, UK

Re: Red dot breakpoints do not stick in v9

Post by Simon Knight » Tue May 21, 2019 11:34 am

I did try a simple cut and paste but the break still occurred.

S
best wishes
Skids

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Red dot breakpoints do not stick in v9

Post by bogs » Tue May 21, 2019 11:48 am

That is odd.
Image

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9663
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Red dot breakpoints do not stick in v9

Post by dunbarx » Tue May 21, 2019 2:17 pm

WHAT???

Red dots now stick too much?

I have never seen this, and never want to. Is there a recipe for this disaster?

Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9837
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Red dot breakpoints do not stick in v9

Post by FourthWorld » Tue May 21, 2019 2:58 pm

IIRC breakpoints are a stack property. When in doubt about an IDE interface to this engine feature, a clean slate can he had by telling the engine directly:

Code: Select all

set the breakpoints of this stack to empty
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Red dot breakpoints do not stick in v9

Post by bogs » Tue May 21, 2019 3:00 pm

OOoooo, I'm tucking that little nugget away. Thanks Richard!
Image

Simon Knight
Posts: 854
Joined: Wed Nov 04, 2009 11:41 am
Location: Gunthorpe, North Lincs, UK

Re: Red dot breakpoints do not stick in v9

Post by Simon Knight » Tue May 21, 2019 4:49 pm

Craig,

No recipe just an odd thing that happened.
best wishes
Skids

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9663
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Red dot breakpoints do not stick in v9

Post by dunbarx » Tue May 21, 2019 8:12 pm

I had credited Richard with pointing out a procedure originally from Simon earlier in this thread.

https-//quality.livecode.com/show_bug.cgi?id=19173

Clearing the breakpoints seems to fix the fragility of red dots. I am thrilled with this, since that simple task allows me to work happily ever after in a particular stack. It is not clear whether this carries over to other stacks as well in the same session. I will watch out for that and report back.

Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9837
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Red dot breakpoints do not stick in v9

Post by FourthWorld » Wed May 22, 2019 3:45 am

Maybe credit should go to Scott Raney, who added the breakpoints stack property to the engine more than 20 years ago.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Talking LiveCode”