I am posting this in the beginner section since I assume I must have messed up something really basic, and I am just missing it.
All of the sudden, breakpoints have stopped working. This happened in a complex project I am working on, but I was able to replicate it in a very simple stack, illustrated below.
I created a new stack, put a simple opencard handler into the stack script that just puts some numbers into the message box and put a breakpoint in the handler. Saved it, closed everything, and when I opened the stack again the opencard handler executed without any problem, and the debugger did not activate on the breakpoint. As you can see from the open menu in the picture script debugging is turned on.
I have no idea what's wrong. I have tried deleting the preferences stack, just in case I had clicked on some unexpected setting, but I have no idea what wrong...
Any help is appreciated.
Breakpoints stopped working
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Breakpoints stopped working
A complete uninstall, removal of all left over files (preferences, licenses, program folders, etc) and re-install seems to have fixed the issue. Wish I knew what I did to cause it though.
Re: Breakpoints stopped working
Spoke too soon. As soon as I ran the stack that gave me the problem originally breakpoints stopped working again, including for the simple sample stack that I provided pictures of above. Very strange. I would share the stack that is causing the problem, but it relies on network resources that are specific to my environment and I don't believe it will load anywhere else successfully...
Re: Breakpoints stopped working
My breakpoint on the preopenstack stopped working too, but only on the launch of Livecode from doubleclicking on the stack (and it mess up with the preopenstack too..)
If I open the stack from Livecode, it works fine.
Trevix
If I open the stack from Livecode, it works fine.
Trevix
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>
Re: Breakpoints stopped working
Hi friends,
the reason for this is the way Livecode opens a stack when doublclicked in opposite to starting Livecode first and then "Open" that stack.
No idea what exactyl is happening there, but obvioulsy "pre/openstack" messages don't get executed.
That's why I never doubleclick a stack to open it.
To "debug" a "pre/openstack" handler (with or without breakpoints) I use the messaege box:
send "preopenstack" to stack "your stack 2 test here..."
Best
Klaus
the reason for this is the way Livecode opens a stack when doublclicked in opposite to starting Livecode first and then "Open" that stack.
No idea what exactyl is happening there, but obvioulsy "pre/openstack" messages don't get executed.

That's why I never doubleclick a stack to open it.
To "debug" a "pre/openstack" handler (with or without breakpoints) I use the messaege box:
send "preopenstack" to stack "your stack 2 test here..."

Best
Klaus