|
![]() SDCC
![]() Is source browsing Possible with SDCC?
|
| next newest topic | next oldest topic |
| Author | Topic: Is source browsing Possible with SDCC? |
|
Jschaenzle Member |
Is there a way to enable source code browsing when using the SDCC compiler? I want to be able to right click on a variable an select Go To Definition of or Go To Reference to. I know keil supports it but does SDCC? IP: Logged |
|
frief Member |
> Is there a way to enable source code browsing when using the SDCC compiler? Yes. Look at Silab's application note 198. (AN198 is dated 2005 so probably mildly out of date. It claims "source-level debug" though) SDCC generates AOMF51 (Intel) format and you can debug within the limits of this format. (Keil has extended the AOMF51 format but the extensions are not publically available. Discussed elsewhere) See option --debug for SDCC and the documentation for AOMF51 for your ICD, emulator or simulator. IP: Logged |
|
vanmierlo Member |
It depends on your definition of source code browsing. You can of course view the files in the IDE.You can do source-level-debug which means step through the C code to see the sequence of execution. You can watch the variable contents of simple variables. But to use Go to Definition or Go to Reference or Add to Watch as Default Type you'll probably need information that is only available in the extended AOMF file. SDCC cannot generate this extended info since the file format is not an open format. IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() |
|
Have you seen our MCU Knowledge Base?