Debuger does not show the values myVar's
Quote from cody on January 14, 2025, 10:11 amHi,
I'm a beginner. I installed version 1.1.0-SR1 on Windows 11. The first code and the simulation work as expected. I now wanted to monitor my defined variables with the debugger. For example, I can monitor the on-board LED on the Arduino with PINB. I can insert my own variables into the MCU with copy/paste, but no values are displayed. What am I doing wrong?
Thanks for an answer.
Hi,
I'm a beginner. I installed version 1.1.0-SR1 on Windows 11. The first code and the simulation work as expected. I now wanted to monitor my defined variables with the debugger. For example, I can monitor the on-board LED on the Arduino with PINB. I can insert my own variables into the MCU with copy/paste, but no values are displayed. What am I doing wrong?
Thanks for an answer.
Quote from arcachofo on January 15, 2025, 11:06 amHi.
Only global variables will show in Mcu Monitor.
If you can't see them, you can try declaring those variables as volatile.Maybe this post can help:
https://simulide.com/p/forum/topic/is-there-a-way-to-see-the-value-of-a-variable/#postid-1566
Hi.
Only global variables will show in Mcu Monitor.
If you can't see them, you can try declaring those variables as volatile.
Maybe this post can help:
https://simulide.com/p/forum/topic/is-there-a-way-to-see-the-value-of-a-variable/#postid-1566