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 use-livecode@lists.runrev

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 (sta

Re: deleting folders on server with revDeleteFolder

2022-07-19 Thread Paul McClernan via use-livecode
Yeah, what Alex said, those are posix (Unix) placeholders that point to folders (. self, and .. parent directory), they aren’t actual real folders. On Sun, Jul 17, 2022 at 8:21 AM Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > Those folders are > > "." - the folder itself

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, bu

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? -- M

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