On 12/08/11 10:45, aliko wrote: > 11.08.2011 15:33, Peter Bigot пишет: >> Add -mdisable-watchdog to the mspgcc command line when the executable >> is being linked. >> >> Peter > > Thanks it's works! :) > And what about the second question - the breakpoint in class > constructor? Can you suggest solution? >
A good way to make it easier to put in a breakpoint is to add an extra function that the compiler will definitely call, and put the breakpoint there. For example: static volatile uint8_t vol; extern "C" void breakHere(void); void breakHere(void) __attribute__((noinline)) { vol = 1; } void foo(void) { ... breakHere(); ... } You can be sure that the call to "breakHere" will not be entirely removed by the compiler, even if the function "foo" is inlined or otherwise optimised. So you can put a breakpoint on "breakHere". ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users