The moose likes IDEs, Version Control and other tools and the fly likes Writing a debugger for Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Writing a debugger for Eclipse" Watch "Writing a debugger for Eclipse" New topic
Author

Writing a debugger for Eclipse

Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 23395

It's been said that the hardest, least well documented part of writing Eclipse plugins is writing a debugger for a new language (at least, a recent article in C/C++ User's Journal said so.) I now find myself in the unenviable position of writing one.
Just wondering if your book helps at all with this -- any juicy tidbits about writing debuggers? If not, or even as well, can you recommend other sources of info about debugger writing (other than the Star Wars injunction to "use the source?")
[ November 11, 2003: Message edited by: Ernest Friedman-Hill ]

[Jess in Action][AskingGoodQuestions]
Kent Beck
author
Ranch Hand

Joined: Nov 07, 2003
Posts: 45
I'm afraid we don't cover debugger writing. Perhaps Erich can point out some online sources of ideas.
Kent


Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0596007434/ref=jranch-20" target="_blank" rel="nofollow">JUnit Pocket Guide</a>
Erich Gamma
Author
Greenhorn

Joined: Nov 08, 2003
Posts: 16
yep - we don't cover integrating a debugger, all we do in the book is to provide some forward pointers to the Java debugger that is integrated in the Eclipse SDK.
Eventually there should be a an article with an example debugger integration. However, whenever we think we have an example for the article (e.g. integrate a ruby debugger), then someone else has already done it<g> So it cannot be that hard... see for example http://sourceforge.net/projects/rubyeclipse. This is an Eclipse ruby plug-in that contributes a debugger.
If you want to learn more about implementing debuggers then you might want to consider attending EclipseCon 2004 (www.eclipsecon.org). There will be a technology exchange on how to implement a debugger.
--erich
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 23395

Thanks muchly, Erich, for both the EclipseCon info (sounds great, I should go!) and the rubyeclipse URL.
 
IntelliJ Java IDE
 
subject: Writing a debugger for Eclipse
 
Threads others viewed
rmic and ClassNotFoundException
eclipse and tomcat
JBuilder 7 Rocks
ClassNotLoadedException in Eclipse debugger
How to pass parameters from one JSP to another JSP
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture