I've experienced this from time to time and it's very frustrating. Have you tried inserting a "breakpoint" command at the start of your function rather than a "red dot" breakpoint?
I've sometimes found that the statement following the breakpoint is somehow syntactically incorrect in a way that isn't caught during compile, which seems to cause LC to just give up. Sorry to be so vague but I can't remember the exact details. On another occasion, I ended up putting a lock messages command in my code (when I was in "try anything" mode) which fixed the problem, but I have no idea why. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Thu, Feb 27, 2014 at 11:03 AM, Graham Samuel <livf...@mac.com> wrote: > I'm trying to debug a sequence of code with some repeat loops and stuff in > it. I'm using LC 6.5.2 on Apple Mavericks 10.9.1 - but I've just tested > this on a far older version of LC (5.5.4) and I get the same problem: > > I have put a number of breakpoints in the code, and when I start executing > it, the breakpoints do indeed stop the code running as expected. But then I > come to a point where the code seems to rush ahead, taking no notice of the > breakpoints. Specifically, I start tracing before calling a certain > function with this statement > > put myFunction(myParameter) into field "myField" > > The first line of the function has a breakpoint in it, but as soon as > execution moves to the function, none of the breakpoints within it apply. > It's as if I'd clicked on the 'step over' button in the IDE instead of the > 'step into', but I haven't. This is entirely repeatable. What did I do > wrong? I suppose it may be a bug, but I rather dread cutting it down to a > simple example. Has anyone any idea what is causing this? > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode