Content originally posted in LPCWare by CodeRedSupport on Wed Dec 01 02:28:47 MST 2010
There is nothing obvious in your compiler/linker options that might be the cause of problems.
Can you confirm if you still fail to stop at main and see the "unresolved breakpoints" warning when you load your image in LPCXpresso 3.5.6?
If you do, can you please try the following:
Delete the *.launch files from within the project, plus the Debug and Release folders.
Select your project in the Project Explorer view and then use [FONT=Courier New][SIZE=1]Quickstart Panel -> Import and Export -> Export projects to Archive[/SIZE][/FONT] to export your project into a ZIP file.
Now select [FONT=Courier New][SIZE=1]File -> Switch Workspace[/SIZE][/FONT] and switch to a new workspace.
Now use [FONT=Courier New][SIZE=1]Quickstart Panel -> Import Example Projects[/SIZE][/FONT] to load your project into the new workspace.
Now build and debug your project. Do you still see the same problem?
If you do, then please change the compiler optimisation level for the project from -O1 to -O0. Again do you still see the problem?
Regards,
CodeRedSupport