This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to set cursor in c file


Debug mode cursor doesn't show in C code file


Hi,everyone,
When i use ST-Link Debugger to debug code,the current cursor show in disassembly code windows.
I want to set cursor show in c code file,what should i do?

i configure Options->Load Application at Startup and Debug Run to main()

Any idea how to do?
Thanks

Parents
  • Perhaps there is no source code associated with the place where it is stopped? Code in assembler or from libraries is not going to display C code, as this is unavailable.

    So where is it actually stopped? What is the code at the disassembly cursor? Scrolling back, or expanding the window, can you see any function names? Addresses?

Reply
  • Perhaps there is no source code associated with the place where it is stopped? Code in assembler or from libraries is not going to display C code, as this is unavailable.

    So where is it actually stopped? What is the code at the disassembly cursor? Scrolling back, or expanding the window, can you see any function names? Addresses?

Children