Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-debug-dev] Threads Debug

Hi Federico,

> I'm pretty sure Eclipse doesn't use the class I mentioned before

You are correct, we do not use the Trace class at all.

> I'm very interested in knowing how that wonderful 'step into' and 'step over' work.

In the JDT debugger we are sending messages to the attached VM via JDWP and waiting for a response. We have client-side code that represents the current state of the attached VM, but other than that the VM actually handles stepping / resuming, etc.

For more information about the requests we send please see here:

http://download.oracle.com/javase/6/docs/platform/jpda/jdwp/jdwp-protocol.html


Michael Rennie


Inactive hide details for Phoenix ---04/02/2011 10:31:53 AM---Hi all, I'm federico Mieres. I'm currently colaborating in the dePhoenix ---04/02/2011 10:31:53 AM---Hi all, I'm federico Mieres. I'm currently colaborating in the development of a

From: Phoenix <magno.f.mieres@xxxxxxxxx>
To: platform-debug-dev@xxxxxxxxxxx, jdt-debug-dev@xxxxxxxxxxx
Date: 04/02/2011 10:31 AM
Subject: [jdt-debug-dev] Threads Debug
Sent by: jdt-debug-dev-bounces@xxxxxxxxxxx





Hi all,
I'm federico Mieres. I'm currently colaborating in the development of a testing tool for java and I'm doing some research about multi thread testing. I've been working with JPDA, and in particular with the Trace class that comes with jdk tools. What I want is to pause a thread execution whenever I need, but of course this class has some limitations. I'm pretty sure Eclipse doesn't use the class I mentioned before. I wonder if anyone could give me some tips about the Eclipse debugger. I'm very interested in knowing how that wonderful 'step into' and 'step over' work.
Thanks in advance!
Federico


--
phx


˙op!ʇ!ɯɹәd ɐʇsә opoʇ 'pɐpɹәʌ sә ɐpɐu

_______________________________________________
jdt-debug-dev mailing list
jdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-debug-dev

GIF image


Back to the top