Debug plugin with DSF support

Discussions and support about ChibiStudio, the free development environment for ARM.
faisal
Posts: 382
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 45 times
Been thanked: 62 times

Re: Debug plugin with DSF support

Post by faisal »

vrollei wrote:Hi,

plugin sources are attached, v4 and v5 supported. v2 and v3 will be added later...


Ok, I'm itching to use the debug plugin in eclipse oxygen, how do i go about doing so :) ?
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Debug plugin with DSF support

Post by Giovanni »

I will give this a try during weekend, thanks for the code.

Giovanni
vrollei
Posts: 163
Joined: Sun Nov 13, 2016 8:44 am
Been thanked: 26 times

Re: Debug plugin with DSF support

Post by vrollei »

faisal wrote:
vrollei wrote:Hi,

plugin sources are attached, v4 and v5 supported. v2 and v3 will be added later...


Ok, I'm itching to use the debug plugin in eclipse oxygen, how do i go about doing so :) ?


You can run it as plugin project in Eclipse.
User avatar
nosense
Posts: 22
Joined: Mon Oct 08, 2012 7:15 pm

Re: Debug plugin with DSF support

Post by nosense »

How does it look like? Can we expect a new ChibiStudio based on latest Eclipse any time soon?
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Debug plugin with DSF support

Post by Giovanni »

I haven't tried it yet, busy period, but I want to bring it in.

Giovanni
clayauld
Posts: 1
Joined: Thu Dec 27, 2018 9:33 pm

Re: Debug plugin with DSF support

Post by clayauld »

vrollei wrote:Hi,

plugin sources are attached, v4 and v5 supported. v2 and v3 will be added later...


I've been working with ChibiStudio for only a short time but I am intrigued and interested in helping update the plugins to the current version of Eclipse. I have the plugin working on Oxygen as well as the 2018-09 release, but I'm getting an error with GDB when I hit the refresh button on the Debug View.

Code: Select all

/tmp/jenkins/jenkins-GCC-7-build_toolchain_docker-633_20171130_1512067137/src/gdb/gdb/utils.c:785: internal-error: virtual memory exhausted.


This is running on Windows 10.

Have you run into this error before? I'm wondering if there's a way to allocate more virtual memory to the GDB process to bypass this error.
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Debug plugin with DSF support

Post by Giovanni »

I am trying to look into this again. Are there updates after the latest files posted?

The plugin is so different (and likely much better) than the old one that I barely recognize things. It does not help that I touched Java like 5 years ago last time and I love it like git.

Giovanni
vrollei
Posts: 163
Joined: Sun Nov 13, 2016 8:44 am
Been thanked: 26 times

Re: Debug plugin with DSF support

Post by vrollei »

Hi,

there were no updates.
I have switched to VSCode and think it would be great to make extension for VSCode....
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Debug plugin with DSF support

Post by Giovanni »

I got an hybrid between old and new code working... the changes were really extensive and I don't understand fully how complete it is, so I went for a minimal changes path for now.

The problem now is that some of the code comes from another project and is under Eclipse license which is not compatible with GPL, before committing anything on the repository I need to address this somehow. The easiest way should be to put the whole plugin under Eclipse license.

Ideas?

BTW, I am dropping support for RT2 and RT3, those are too old and are still supported by older ChibiStudio version if really required, it will support from RT4 onward.

Giovanni
vrollei
Posts: 163
Joined: Sun Nov 13, 2016 8:44 am
Been thanked: 26 times

Re: Debug plugin with DSF support

Post by vrollei »

If you need any help with changes... let me know, it is not so complex.

I don not think that It would be easy to remove all code under Eclipse lic....
Post Reply