Report
2 months, 2 weeks ago.

How can variables be observed when debugging?

Hi, I'm running the ST Nucleo F401RE with the example Nucleo_blink_LED project. I've compiled offline with an ELF file and set up debugging successfully. I can see the registers and trace through the code, but I'm not able to view variables.

I've tried: -GDB with openOCD and pyOCD -Windows and macOS -Running the debugger via the Eclipse IDE, and also via command line

In all cases, the variables don't appear. Any ideas?

Try this one. Official realtime variable viewer with graphs and tables by STM... ;)

https://www.st.com/en/development-tools/stm-studio-stm32.html

posted by Kamil M 09 Dec 2018
Comment on this question

3 Answers

2 months, 2 weeks ago.

As you stop at different places in your code the Autos window will automatically populate with all the variables used in the current statement (the line where the yellow instruction pointer is) and some surrounding statements. The scope of what variables automatically populate from the surrounding statements depends on the language you are debugging. Typically, you will see variables that are referenced 3 lines behind and 1 line ahead of the current state. Some languages like JavaScript are not supported by the Autos window. https://rospher.com/contact_us/

Thanks for your suggestion, but what is an 'Autos window'? (I don't see an 'Autos Window' in Eciplise).

posted by Simon Bennett 30 Nov 2018
2 months, 1 week ago.

There is often happen such debugging problems when we need a work in urgent. If you think that you can't do that in such situation you can hire web design dubai company. They have expert designers and developers can do your's work in urgent without any extra charges. You need to contact them for better packages.

Pff more spam.....

posted by Simon Bennett 07 Dec 2018
1 month, 3 weeks ago.

yes i can help you this is not major problem at all. debugging is not an error this is basically the, when you run a code and something come is unexpectedly and miss behave this manner is called debugging. i am also a programmer at a large level i take projects recently my project is web content writing service here i face lot's of error and the debugging, exception and so many it's difficult to solve but not impossible at all.


To post an answer, please log in.