This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to debugg widget based gui in ccs4

Hi,

We have developing a gui using LM3s9B92's  graphic library .The GUI is designed mostly using push buttons widgets and development environment is CC4.

Stellaris In-circuit debugger is used for debugging.

In the debugg mode it will start from main and continue ther in the while loop for any widget notification .so we can see home page of gui.

But if we press any widget the debugging will not go to that call back widget function .ie widget functions are not able to debugg.

So could you place tell me any way of debugging widget based application.? Any simulator available for this target. 

Advanced thanks

Anoop/k

 

 

. ie. while connecting to target using incircuit debugger

 

  • Hi Anoop

    anup karimba said:
    But if we press any widget the debugging will not go to that call back widget function .ie widget functions are not able to debugg.

    Could you explain what you mean by "not able to debug'? Do mean not being able to do source stepping? If that is the case, it may be because you have optimization enabled, which would impact your ability to do source stepping

    ki

  • Hi Ki-Soo,

    In debug mode when i am pressing the widget it is not going to the source code of that widgets function . Instead it will be waiting in the

    WidgetMessageQueueProcess(). is it because enabling the optimization in cc4? If it so can you tell me how can can disable disable

    the optimization in cc4.

    Thanks,

    anoop.k