Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: No source available for main()

$
0
0

[quote user="Tim11828"] added a project and tried running, but got same result. I am running in debug mode. It appears to be pointing to the right address (0x611e), but maybe that's not where the vector is? I remember there used to be a startup file, where did that go?[/quote]The screen shows the program is halted at the first instruction in main(), which is the expected default behaviour when CCS is used to download a program.

The CCS debugger is display a "View Disassembly..." button, but isn't displaying a "Locate File..." button. This suggests the source file containing main() hasn't been compiled with debug information.

Under the CCS Project Properties -> Build -> MSP430 Compiler -> Advanced Options what is "Debugging Model" set to?

The default is "Full symbolic debug (--symdebug:dwarf,-g)", but I was able to re-create your problem on an existing project by setting the "Debugging Model" to "Suppress all symbolic debugging information (--symdebug:none)"


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>