View Single Post
Old 30 September 2021, 19:16   #11
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,604
Including source files is of course also necessary for any code that isn't dead (finished) in any language.

It's good practice to move parts of code (source or compiled) into separate files. Even parts of code you think aren't quite dead (finished) yet. This creates structure, and a basic Separation of Concerns, in any language.

Quote:
Originally Posted by Thomas Richter View Post
That cannot work. The debugger can hardly know what type of structure a0 is pointing to, so it cannot relate the offsets to any particular symbol.
You can absolutely write a debug symbols exporter that relates a value in the code to an exported symbol. The debugger must support it.

Last edited by Photon; 30 September 2021 at 19:22.
Photon is offline  
 
Page generated in 0.04419 seconds with 11 queries