how to get state in eclipse plugin?

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

how to get state in eclipse plugin?

Post by russian »

Search does not want to search by "eclipse plugin" since the words are too common so please excuse me for posting a banal question.

I have copied two jars into the eclipse/plugin folder and Eclipse does show the ChibiOS/RT window
I have arm-none-eabi-gdb.exe gdb setup with openocd - I can set breakpoints, pause resume etc - so, debugging does function.

But the plugin does not show me any data, even if I click the refresh button. What am I missing? Am I supposed to setup something else somewhere? Any configuration option in the compiled code? I believe I have most if not all *_DBG_* options enabled. I feel like I am missing something very simple here :)
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: how to get state in eclipse plugin?

Post by Giovanni »

Hi,

Make sure to have the following setting:

debug3.png
debug3.png (41.92 KiB) Viewed 2531 times


Note that the plugin will be able to show you info only after the target executed chSysInit() and while the program is stopped.

Giovanni
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: how to get state in eclipse plugin?

Post by russian »

Yes, this option did the job!

As a usability improvement the plugin can show a message like 'please make sure standard launcher is active' if it detects the lack of data.

Thank you for your patience with us :)
Post Reply