Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Issues creating custom debugger
Issues creating custom debugger [message #48769] Sun, 01 March 2009 18:22 Go to next message
Robert Schultz is currently offline Robert SchultzFriend
Messages: 2
Registered: July 2009
Junior Member
Hello

I am working on creating a custom debugger plugin for Eclipse.

I have several things working already. I can launch debug configurations,
breakpoints, threads, stack traces, stepping, variable inspection it all
works.

There are two problems that I have that I have been unable to solve
despite digging into other debugger code.

1. When a breakpoint is reached and I fire a suspend event in a thread
with DebugEvent.BREAKPOINT as the details, the actual breakpoint doesn't
get highlighted in the file editor.
How do I have Eclipse open the file in question, jump to the breakpoint
line and add the little arrow and line highlight that indicates that we're
at that point in the code?

2. After my threads and process terminate (and it all says terminated in
the debug view) if I launch another debug configuration, eclipse's debug
view gets all confused. It tried to re-use the old items and inserts the
new process in the old list of process/threads. The view doesn't update
right either.
I'm firing all the terminate events that I think I need to, but for some
reason Eclipse isn't "cleaning up" the items.

Could someone out there point me in the right direction to solve these two
issues?
Re: Issues creating custom debugger [message #48802 is a reply to message #48769] Sun, 01 March 2009 22:53 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
Robert Schultz wrote:
> Hello
>
> I am working on creating a custom debugger plugin for Eclipse.
>
> I have several things working already. I can launch debug
> configurations, breakpoints, threads, stack traces, stepping, variable
> inspection it all works.
>
> There are two problems that I have that I have been unable to solve
> despite digging into other debugger code.
>
> 1. When a breakpoint is reached and I fire a suspend event in a thread
> with DebugEvent.BREAKPOINT as the details, the actual breakpoint doesn't
> get highlighted in the file editor.
> How do I have Eclipse open the file in question, jump to the breakpoint
> line and add the little arrow and line highlight that indicates that
> we're at that point in the code?
>
> 2. After my threads and process terminate (and it all says terminated in
> the debug view) if I launch another debug configuration, eclipse's debug
> view gets all confused. It tried to re-use the old items and inserts the
> new process in the old list of process/threads. The view doesn't update
> right either.
> I'm firing all the terminate events that I think I need to, but for some
> reason Eclipse isn't "cleaning up" the items.
>
> Could someone out there point me in the right direction to solve these
> two issues?

Since your question is pretty detailed, I would consider sending an
email to the Platform Debug mailing list:

https://dev.eclipse.org/mailman/listinfo/platform-debug-dev

Cheers,

Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/caniszczyk | http://twitter.com/eclipsesource
Re: Issues creating custom debugger [message #592583 is a reply to message #48769] Sun, 01 March 2009 22:53 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
Robert Schultz wrote:
> Hello
>
> I am working on creating a custom debugger plugin for Eclipse.
>
> I have several things working already. I can launch debug
> configurations, breakpoints, threads, stack traces, stepping, variable
> inspection it all works.
>
> There are two problems that I have that I have been unable to solve
> despite digging into other debugger code.
>
> 1. When a breakpoint is reached and I fire a suspend event in a thread
> with DebugEvent.BREAKPOINT as the details, the actual breakpoint doesn't
> get highlighted in the file editor.
> How do I have Eclipse open the file in question, jump to the breakpoint
> line and add the little arrow and line highlight that indicates that
> we're at that point in the code?
>
> 2. After my threads and process terminate (and it all says terminated in
> the debug view) if I launch another debug configuration, eclipse's debug
> view gets all confused. It tried to re-use the old items and inserts the
> new process in the old list of process/threads. The view doesn't update
> right either.
> I'm firing all the terminate events that I think I need to, but for some
> reason Eclipse isn't "cleaning up" the items.
>
> Could someone out there point me in the right direction to solve these
> two issues?

Since your question is pretty detailed, I would consider sending an
email to the Platform Debug mailing list:

https://dev.eclipse.org/mailman/listinfo/platform-debug-dev

Cheers,

Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/caniszczyk | http://twitter.com/eclipsesource
Previous Topic:Issues creating custom debugger
Next Topic:Missing Jar in Target Platform
Goto Forum:
  


Current Time: Tue Apr 23 09:47:45 GMT 2024

Powered by FUDForum. Page generated in 0.03112 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top