Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Any API help to run a debug tool in eclipse?
Any API help to run a debug tool in eclipse? [message #170790] Mon, 15 December 2003 20:44 Go to next message
Eclipse UserFriend
Originally posted by: duan-yonghong.sjtu.edu.cn

Hi, everyone
I am working on develop a tools that can calculate dynamic metrics of a
java software. In my project, I use JDI(java debug interface) to trap events
such as method entry, class prepare. So, I must run a target project using
my own debugger which I have developed using JDI. As I want to make my
project into a plugin, I want it implement functions that when I select a
project in package explorer view, the project will run with my debugger
without more input from user. So, I want to get information about project's
classpath, MainObject(object including main method) and so on. Then run my
plugin using this imformation.
How can I do these? Is there any class in eclipse API can help me?
Thank you for your help!

Duanyh
SJTU
Re: Any API help to run a debug tool in eclipse? [message #171002 is a reply to message #170790] Tue, 16 December 2003 09:19 Go to previous message
Eclipse UserFriend
The Java Debugger has a way to compute a default runtime classpath for a
Java project. See JavaRuntime.computeDefaultRuntimeClasspath(IJavaProject).

Darin

"duanyh" <duan-yonghong@sjtu.edu.cn> wrote in message
news:brlo11$r3$2@eclipse.org...
> Hi, everyone
> I am working on develop a tools that can calculate dynamic metrics of a
> java software. In my project, I use JDI(java debug interface) to trap
events
> such as method entry, class prepare. So, I must run a target project using
> my own debugger which I have developed using JDI. As I want to make my
> project into a plugin, I want it implement functions that when I select a
> project in package explorer view, the project will run with my debugger
> without more input from user. So, I want to get information about
project's
> classpath, MainObject(object including main method) and so on. Then run my
> plugin using this imformation.
> How can I do these? Is there any class in eclipse API can help me?
> Thank you for your help!
>
> Duanyh
> SJTU
>
>
>
Previous Topic:[HELP]: 2.1.2: How to reload a class from a plugin under test with -dev???
Next Topic:Can't step into source code
Goto Forum:
  


Current Time: Fri Sep 19 17:42:13 EDT 2025

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

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

Back to the top