Re: Debugging libraries

2022-07-19 Thread Mark Wieder via use-livecode
On 7/19/22 15:48, Bob Sneidar via use-livecode wrote: Thanks for the reply Mark, I did that (after declaring the global first) but breakpoints did not break! But then I discovered that the error was that I was calling a function as a command. ...and as a hint the glx2 script editor will pop

Re: Debugging libraries

2022-07-19 Thread Mark Wieder via use-livecode
On 7/19/22 15:48, Bob Sneidar via use-livecode wrote: Thanks for the reply Mark, I did that (after declaring the global first) but breakpoints did not break! But then I discovered that the error was that I was calling a function as a command. Shouldn't that have thrown a runtime error? --

Re: Debugging libraries

2022-07-19 Thread Bob Sneidar via use-livecode
Thanks for the reply Mark, I did that (after declaring the global first) but breakpoints did not break! But then I discovered that the error was that I was calling a function as a command. To my recollection the sqlYoga sqlquery_retrieveAsData was a command like the array and record variants,

Re: Debugging libraries

2022-07-19 Thread Mark Wieder via use-livecode
On 7/19/22 09:00, Bob Sneidar via use-livecode wrote: Hi all. There is a global variable, I thought it was gRevDevelopment, where you set it to true if you need to debug a script which begins with "lib". I cannot think what that global is! Set gRevDevelopment true to debug system stacks

Debugging libraries

2022-07-19 Thread Bob Sneidar via use-livecode
Hi all. There is a global variable, I thought it was gRevDevelopment, where you set it to true if you need to debug a script which begins with "lib". I cannot think what that global is! Bob S ___ use-livecode mailing list