Page 2 of 4

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 5:17 am
by dunbarx
In the LC menubar, between "Errors" and "Tutorials".

Craig

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 7:10 am
by MichaelBluejay
My LC menubar (Community Edition, 9.6.2-rc-1) shows: Apple, LiveCode, File, Edit, Tools, Object, Text, Development, View, Window Help

When the Script Editor is open, it shows: Apple, File, Edit, Debug, Handler, Window, Help

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 7:28 am
by dunbarx
Hi.

No, the LC menubar.
"inspector, Code. Message box..."

It is actually a stack.

Craig

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 8:12 am
by MichaelBluejay
I'm not following you. Clearly you're not talking about the LiveCode menu bar, because I told you the contents of my LiveCode menubar (unless your menubar differs from mine, somehow).

In any event, in my "Help" menu I found Sample Stacks. I opened it, it's extremely slow. With some difficulty I found Variable Monitor, and clicked "Download", but it didn't actually download as a file, instead the file opened right into LC. I saved it in the location prescribed in How to Install a 3rd Party Plugin (~/Documents/My LiveCode/Plugins), quit LiveCode, and restarted, but the Variable Monitor plugin doesn't show up in Development > Plugins.

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 11:07 am
by AndyP
MichaelBluejay wrote: Sat Jan 09, 2021 8:12 am In any event, in my "Help" menu I found Sample Stacks. I opened it, it's extremely slow. With some difficulty I found Variable Monitor, and clicked "Download", but it didn't actually download as a file, instead the file opened right into LC. I saved it in the location prescribed in How to Install a 3rd Party Plugin (~/Documents/My LiveCode/Plugins), quit LiveCode, and restarted, but the Variable Monitor plugin doesn't show up in Development > Plugins.
Stacks downloaded from Sample Stacks always open within the IDE and yes generally slow!

Make sure you put the plugin in the same folder as indicated in Preferences > Files and Folders
Inked2021-01-09_11-02-25_LI.jpg
Once installed it will probably be at the bottom of the plugins List.

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 1:28 pm
by MichaelBluejay
Thank you for the suggestion.

Given my experience with LC, I wasn't surprised when it didn't work.

Preferences > Files & Memory says my User Extensions path is /Programming/LiveCode.

So I put the file there: /Programming/LiveCode/Plugins/Variable Monitor.livecode

Quit LC, restarted LC, but Development menu > Plugins does not show Variable Monitor.

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 1:57 pm
by bogs
FourthWorld wrote: Sat Jan 09, 2021 12:58 am
bogs wrote: Fri Jan 08, 2021 9:42 pm Well, with the ability to either pop out the windows or not, don't you have the best of both worlds?
Depending on how it's done it may be a patent infringement. ;)
Erm, that is how every IDE back to Rev 3 has had it ? i.e., it is already in there, as shown in these two pics (rev 3, Lc 9.6) -
Rev 3 Var in pane and in window...
Rev 3 Var in pane and in window...
Lc 9.6  Var in pane and in window...
Lc 9.6 Var in pane and in window...

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 2:05 pm
by bogs
MichaelBluejay wrote: Sat Jan 09, 2021 8:12 am I'm not following you. Clearly you're not talking about the LiveCode menu bar, because I told you the contents of my LiveCode menubar (unless your menubar differs from mine, somehow).
Um, Every platform I've run Lc on shows the menubar thus (Sample Stacks high lighted)-
Um...
Um...
MichaelBluejay wrote: Sat Jan 09, 2021 1:28 pm Preferences > Files & Memory says my User Extensions path is /Programming/LiveCode.
So I put the file there: /Programming/LiveCode/Plugins/Variable Monitor.livecode
Can you put the Os your working on? I'll see if I can replicate that behavior, and if I can I'll submit a BR.

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 3:13 pm
by AndyP
MichaelBluejay wrote: Sat Jan 09, 2021 1:28 pm Thank you for the suggestion.

Given my experience with LC, I wasn't surprised when it didn't work.

Preferences > Files & Memory says my User Extensions path is /Programming/LiveCode.

So I put the file there: /Programming/LiveCode/Plugins/Variable Monitor.livecode

Quit LC, restarted LC, but Development menu > Plugins does not show Variable Monitor.
If you put the plugin in /Programming/LiveCode/Plugins/ then you will have to change your extensions path in preferences to match. As you have it at the moment LC is expecting to find the plugin(s) in /Programming/LiveCode

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 3:21 pm
by bogs
Nice Andy, I completely missed that myself.

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 3:50 pm
by dunbarx
I'm not following you. Clearly you're not talking about the LiveCode menu bar, because I told you the contents of my LiveCode menubar (unless your menubar differs from mine, somehow).
There are two menuBars. The "standard" one and the LC one. The LC one is actually a stack, and (usually) sits at the top of the screen, below the standard one. You must have seen this. How, otherwise, do you, say, group selected objects? Under script control? 8)

Craig

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 5:47 pm
by jacque
There are two menuBars. The "standard" one and the LC one.
The menu bar is the system menu at the top. The one underneath that with the LC icons is usually called the toolbar, not to be confused with the tool palette, which is at the side.

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 6:55 pm
by dunbarx
Hmmm, the name of the stack is "revmenuBar".

But Michael, do you not use, or see this?

Craig

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 7:10 pm
by jacque
You're right, maybe it's just me who calls it toolbar.

Re: See both variables and code in the debugger?

Posted: Sat Jan 09, 2021 7:29 pm
by FourthWorld
bogs wrote: Sat Jan 09, 2021 1:57 pm
FourthWorld wrote: Sat Jan 09, 2021 12:58 am
bogs wrote: Fri Jan 08, 2021 9:42 pm Well, with the ability to either pop out the windows or not, don't you have the best of both worlds?
Depending on how it's done it may be a patent infringement. ;)
Erm, that is how every IDE back to Rev 3 has had it ? i.e., it is already in there...
...but not as a tear-off window.

Never mind me, I was just making an obscure joke about the obscure joke that is the US software patent system (besides, it's been so long I'm pretty sure that old Adobe patent has expired by now).