Page 1 of 1
Eclipse plugin 4.x.x doesn't show stack
Posted: Thu Jun 16, 2016 2:50 pm
by dismirlian
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.
Re: Eclipse plugin 4.x.x doesn't show stack
Posted: Thu Jun 16, 2016 3:01 pm
by dismirlian
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.
Re: Eclipse plugin 4.x.x doesn't show stack
Posted: Thu Jun 16, 2016 3:03 pm
by Giovanni
Hi,
Look in the repository under /branches there is a chibistudio_trunk directory with all the Java/Eclipse stuff inside.
Giovanni
Re: Eclipse plugin 4.x.x doesn't show stack
Posted: Thu Jun 16, 2016 4:29 pm
by dismirlian
Thanks Giovanni.
Diego.
Re: Eclipse plugin 4.x.x doesn't show stack
Posted: Mon Aug 14, 2017 4:44 pm
by joaquin
I've had the same problem, but the workaround also solved the issue
Thank to both of you
Re: Eclipse plugin 4.x.x doesn't show stack
Posted: Fri Aug 18, 2017 1:45 pm
by steved
Fix now in repository - need to update (and delete the temporary fix if used)
Re: Eclipse plugin 4.x.x doesn't show stack
Posted: Fri Aug 18, 2017 2:40 pm
by Giovanni
Hi,
The updated plugin should show as a ChibiStudio update: "Help->Install New Software" then select "ChibiStudio Update Site".
Giovanni