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
Has thanked: 93 times
Been thanked: 76 times
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 7442 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
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
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
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 7404 times
3. Entering the local variable name like .myLocalVal and pressing enter.
localwatch2.JPG
localwatch2.JPG (33.28 KiB) Viewed 7404 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 7404 times
Ill just keep the good work up!

Post Reply