I use CW 10.1 since two days the program runs automatically when I start debugging. Where can I cancel this operation ? So that i start the programm by pressing Resume button.
I recently faced this same problem in CW 6.3.... after a lot of nerve wracking, i found out that in my startup.c file the jump instruction to the main program was referencing "main()" ; whereas i had declared my main as "Main()".... and as soon as i changed this, the debugger started working fine!!!
Dont know whether this will help... however pls do check!!!
I assume you are using CodeWarrior V10.x.
Am I right?
If not please indicate the target CPU and CodeWarrior version number you are using.
If you are using V10.x there are a couple of points you can check:
- Open the Debug Configuration dialog and select your launch configuration in there
- Switch to the Debug tab in there.
- In the "Program execution" group is "Stop on startup at" checked?
- What is specified then in this group?
If you want the debugger to stop at the main function make sure you checked "User specified"
and typed main in the edit box (provided your main function name is main).
Next point to check is are you generating debug information for the application?
Did you see a message when starting the debugger (something like unable to set breakpoint)?
Retrieving data ...