I have a project where I can compile and debug as long as the optimization level is set at Oz (image size) but when I attempt to debug after compiling with no optimization O0 the application will not run.
Probably below link should help:http://www.keil.com/support/docs/3614.htm