Thanks Ioannis. Are you saying this from experience by any chance? I have installed the plugin you mention, and C programs clearly will show variables I mention since the quote I included is from a tutorial about the IDE showing the variable values.

It seems to defeat the purpose of having a simulator you can step through but not see the variables as they change from line to line IMHO .

Having said that, maybe supporting picbasic was just an afterthought and it's not fully supported yet (since you have to take manual steps to configure the IDE to generate picbasic projects).

PS I should add I'm a programmer by trade so I'm familiar with the way things should work (in an ideal world), and all the behind-the-scenes jiggery-pokery that takes us from source code to binary.

Quote Originally Posted by Ioannis View Post
Mplab stimulus simulator and in general the IDE has nothing to do with your program in Basic. You will never see what is happening in your program once it is compiled (virtually re-writen by the compiler in assembly).

You see the variables only if they are from an assembly program or if Melabs ever permit this to happen through special plug in for Mplab.

Till then, the only thing you can monitgor are the internal registers of the PIC that Mplab can directly show you. For example, if you want to increment Data RAM location $10 for every button press, then you can see the register $10 but not if you name it like My_Variable as it is not easy to find which register this maps to. Maybe others can help you to dig deep into the produced from compiler files to find the infos you seek...

Ioannis