Help with what should be a ridiciously simple plug in.

1 view
Skip to first unread message

Bil Lewis

unread,
Feb 22, 2007, 11:20:43 AM2/22/07
to bosto...@googlegroups.com
Hi all!

I've been trying to write a plug in that will launch my debugger instead of the
built-in debugger, using all the arguments, etc. set in the RUN menu. I've gotten
nowhere. :-(

This should be a dozen lines of code, but I haven't figured it out.

Anyone know this part of Eclipse well enough to help me?

-Bil
--
Bil Lewis
Computer Scientist
B...@LambdaCS.com

Debugging Backwards in Time via the Omniscient Debugger
http://www.LambdaCS.com/debugger

Jeffrey Miller

unread,
Feb 28, 2007, 1:51:36 AM2/28/07
to Bil Lewis, bosto...@googlegroups.com

Hi Bil.  I passed your query on to a couple of people on my team and got the following reply, which might help or at least give you some examples.  This is from Doug Tidwell:

=========================
"The best advice I'd have for Bil would be to look at the EPIC (Perl) and RDT (Ruby) plugins.  EPIC, the Eclipse Perl Integration kit, is at http://sourceforge.net/projects/e-p-i-c/, while RDT is available from http://www.rubypeople.org/.  

EPIC was the first plug-in I'm aware of to tweak the debugger so it worked with Perl code, and RDT took their approach and extended it for Ruby.  If I had the time, that's where I'd start looking.  

For a general plug-in that invokes the debugger, the first issue would be whether the graphical code in the Omniscient Debugger (which is wicked cool, btw) would run inside an Eclipse frame.  If that works, my guess is the rest is just window dressing.  You could add an Omniscient Debugger view to the Java perspective, add an "Invoke OD" item to the context menu for .java files, add an icon to the toolbar, etc.  Whether you'd have to create your own perspective or not I can't say.

One final thought: There is an Eclipse toolkit for people who want to develop language IDEs within Eclipse.  I found an article at http://www.eclipse.org/articles/Article-LTK/ltk.html, but that's not exactly what I was looking for.  Assuming I didn't dream that there's a toolkit for this, I would think part of it would involve invoking a debugger.

Now I'm going to get back to my actual job, because I would really enjoy spending the rest of the week hacking on this....

Hope this helps,
-Doug"
==========================


I, too, hope this helps.

</WS-Jeff>

_____
Jeff Miller, Sr. Software Engineer
Security+ Certified Professional
IBM Worldwide Developer Skills Program
developerWorks
_____
mailto:jef...@us.ibm.com  <== BEST WAY TO REACH ME
US Tel: +1 781-895-2885   T/L 362-2885   Fax: +1 845-432-0294



Bil Lewis <B...@LambdaCS.com>
Sent by: bosto...@googlegroups.com

02/22/2007 11:20 AM

To
bosto...@googlegroups.com
cc
Subject
bostonEDGE.org: Help with what should be a ridiciously simple plug in.


Reply all
Reply to author
Forward
0 new messages