385 views
in GUI Development by
I was wondering if there is a way to just print out the GUI stack before a throw command. Because on the target system I only get a segfault and I have to go through a whole process using GDB to grab the full stack.

I also see that tracestack is only allowed in prototyping: "The statement 'tracestack' has been eliminated. This statement is for prototyping purpose only and can not be used in the target system."

Best regards,

Alex

1 Answer

0 votes
by
 
Best answer

Because of the particular apects of the C compilers and the differences in the architecture of target CPUs there is no practicable way to print the stack trace at the runtime in the target system. You will need a debugger appropriate for the particular C Compiler/CPU architecture.

The tracestack statement exists within the prototyping environment only and extends the debugging possibilities during the development of GUI application within Embedded Wizard Studio.

Embedded Wizard Website | Privacy Policy | Imprint

...