Hi,
I'm using ChibiOS 16.1.4, and the 4.x.x Debug plugin for Eclipse from the ChibiStudio 17 package.
The issue is that I can't see the stack information (both the StkLimit and the StkUnused columns show "-"). Otherwise the plugin works well.
I have CH_DBG_FILL_THREADS set to TRUE in chconf.h.
What am I missing?
Thanks!!
Diego.
Eclipse plugin 4.x.x doesn't show stack
-
- Posts: 65
- Joined: Fri Dec 20, 2013 3:59 pm
- Location: Buenos Aires, Argentina
- Has thanked: 1 time
- Been thanked: 16 times
-
- Posts: 65
- Joined: Fri Dec 20, 2013 3:59 pm
- Location: Buenos Aires, Argentina
- Has thanked: 1 time
- Been thanked: 16 times
Re: Eclipse plugin 4.x.x doesn't show stack
Ok, as a workaround, I defined:
in chconf.h, because the plugin expects (thread_t *)tp->stklimit instead of (thread_t *)tp->wabase
As a side-note, I can't find the source code for the plugin. Is it available? (I decompressed the plugin's .jar and examined DebugProxy.class with a text editor to find out the correct name for the variable).
Sorry for the noise...
Thanks!
Diego.
Code: Select all
#define wabase stklimit
in chconf.h, because the plugin expects (thread_t *)tp->stklimit instead of (thread_t *)tp->wabase
As a side-note, I can't find the source code for the plugin. Is it available? (I decompressed the plugin's .jar and examined DebugProxy.class with a text editor to find out the correct name for the variable).
Sorry for the noise...
Thanks!
Diego.
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Eclipse plugin 4.x.x doesn't show stack
Hi,
Look in the repository under /branches there is a chibistudio_trunk directory with all the Java/Eclipse stuff inside.
Giovanni
Look in the repository under /branches there is a chibistudio_trunk directory with all the Java/Eclipse stuff inside.
Giovanni
-
- Posts: 65
- Joined: Fri Dec 20, 2013 3:59 pm
- Location: Buenos Aires, Argentina
- Has thanked: 1 time
- Been thanked: 16 times
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Eclipse plugin 4.x.x doesn't show stack
Hi,
The updated plugin should show as a ChibiStudio update: "Help->Install New Software" then select "ChibiStudio Update Site".
Giovanni
The updated plugin should show as a ChibiStudio update: "Help->Install New Software" then select "ChibiStudio Update Site".
Giovanni
Who is online
Users browsing this forum: No registered users and 30 guests