| Get a reference to eclipse UI when running a java agent into Eclipse Process [message #889866] |
Wed, 20 June 2012 00:27  |
Michel Legris Messages: 4 Registered: March 2012 |
Junior Member |
|
|
I'm working on a kind of "Swing explorer" tool (Spy++ for java)
My tool is working properly for all possible type of java application except for the the Eclipse IDE application. For some reasons it'a not working the agent cant access to any form of UI with GetShells/Windows. I'm trying to figure out why I cant access to the UI just like any other java application.
I'm using a VirtualMachine java agent "injected" into Eclipse IDE process. The agent is correctly injected into Eclipse ide process...and try to Use Display.GetShells to get an access to all the UI of The eclipse IDE but GetShells return no shell.
Any ideas? Why GetShells/window return nothing? How i'm suppose the access to the top level UI element (the window)? Any better place to post specific question like this?
Thanks
|
|
|
|
|
| Re: Get a reference to eclipse UI when running a java agent into Eclipse Process [message #890082 is a reply to message #890081] |
Wed, 20 June 2012 21:33  |
Michel Legris Messages: 4 Registered: March 2012 |
Junior Member |
|
|
Heu..yes It's exactly what i'm expecting :
Getting an instance to org.eclipse.swt.widgets.Shell in my java agent. (it work for any other SWT application)
I'm supporting any widget controls but Eclipse is the only application where the GetShell in my agent return no shell...I'm just trying to figure out why?
Is eclipse running the java.exe in the system32 folder (Instead of the jre exe in program files) or the usage of a splashscreen can be a part of the problem?
Thanks for any help, I have spent many days on this particular issue.
[Updated on: Wed, 20 June 2012 21:46] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01595 seconds