Eclipse plugin 4.x.x doesn't show stack

Discussions and support about ChibiStudio, the free development environment for ARM.
dismirlian
Posts: 65
Joined: Fri Dec 20, 2013 3:59 pm
Location: Buenos Aires, Argentina
Has thanked: 1 time
Been thanked: 16 times

Eclipse plugin 4.x.x doesn't show stack

Postby dismirlian » Thu Jun 16, 2016 2:50 pm

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.

dismirlian
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

Postby dismirlian » Thu Jun 16, 2016 3:01 pm

Ok, as a workaround, I defined:

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.

User avatar
Giovanni
Site Admin
Posts: 14455
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

Postby Giovanni » Thu Jun 16, 2016 3:03 pm

Hi,

Look in the repository under /branches there is a chibistudio_trunk directory with all the Java/Eclipse stuff inside.

Giovanni

dismirlian
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

Postby dismirlian » Thu Jun 16, 2016 4:29 pm

Thanks Giovanni.

Diego.

joaquin
Posts: 38
Joined: Sat Jan 22, 2011 8:44 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Eclipse plugin 4.x.x doesn't show stack

Postby joaquin » Mon Aug 14, 2017 4:44 pm

I've had the same problem, but the workaround also solved the issue
Thank to both of you

steved
Posts: 825
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Re: Eclipse plugin 4.x.x doesn't show stack

Postby steved » Fri Aug 18, 2017 1:45 pm

Fix now in repository - need to update (and delete the temporary fix if used)

User avatar
Giovanni
Site Admin
Posts: 14455
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

Postby Giovanni » Fri Aug 18, 2017 2:40 pm

Hi,

The updated plugin should show as a ChibiStudio update: "Help->Install New Software" then select "ChibiStudio Update Site".

Giovanni


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 3 guests