Issues creating custom debugger [message #48769] |
Sun, 01 March 2009 18:22 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Robert Schultz![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=robert%40cosmicrealms.com) 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 Go to previous message](theme/Solstice/images/up.png) |
Chris Aniszczyk![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=caniszczyk%40gmail.com) 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 Go to previous message](theme/Solstice/images/up.png) |
Chris Aniszczyk![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=caniszczyk%40gmail.com) 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
|
|
|
Powered by
FUDForum. Page generated in 0.04157 seconds