Unable to access local variables in the simulation debugger

A forums to allow resolved bugs and problems with Flowcode v7 to be stored and marked as resolved.

Moderator: Benj

Post Reply
Zane
Flowcode v5 User
Posts: 199
Joined: Thu Sep 10, 2009 10:57 pm
Location: New Zealand
Contact:

Unable to access local variables in the simulation debugger

Post by Zane »

Hi,

During simulation i am finding that if you have jumped to a macro, in the simulation debugger window, if you want to add global variables to watch you are able to but are unable to access the local variables from the variable manager to add those as well.
Untitled.jpg
Untitled.jpg (53.97 KiB) Viewed 4323 times

User avatar
LeighM
Matrix Staff
Posts: 2083
Joined: Tue Jan 17, 2012 10:07 am
Contact:

Re: Unable to access local variables in the simulation debug

Post by LeighM »

Thanks, I've added this to our bug tracker.
Leigh

EtsDriver
Valued Contributor
Valued Contributor
Posts: 438
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Contact:

Re: Unable to access local variables in the simulation debug

Post by EtsDriver »

A workaround to enable local variable watching, you have to just know your variable name:
1. Step your program into the local macro that has the variable you want to watch.
2. Doubleclick the "Expression" text
localwatch1.JPG
localwatch1.JPG (28.94 KiB) Viewed 4285 times
3. Entering the local variable name like .myLocalVal and pressing enter.
localwatch2.JPG
localwatch2.JPG (33.28 KiB) Viewed 4285 times
4. Now you can now watch your local variable go up down, add, whatever it does! :)
localwatch3.JPG
localwatch3.JPG (28.42 KiB) Viewed 4285 times
Ill just keep the good work up!

Post Reply