t-artistik / javasnoop

Automatically exported from code.google.com/p/javasnoop
0 stars 0 forks source link

Attach function does not handle process paths containing spaces #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The process "C:\Program Files (x86)\jEdit 4.3.2\jEdit.jar" shows up in the 
Attach & Snoop window as Main Class "C:\Program" with Main Arguments "Files 
(x86)\jEdit 4.3.2\jEdit.jar"

Original issue reported on code.google.com by hubert...@gmail.com on 2 Aug 2010 at 12:48

GoogleCodeExporter commented 9 years ago
Attaching to the process does work but the details seem to be parsed 
incorrectly.

Original comment by hubert...@gmail.com on 2 Aug 2010 at 1:04

GoogleCodeExporter commented 9 years ago
Verified. Will be fixed in RC5.

Original comment by arshan.d...@gmail.com on 2 Aug 2010 at 2:36

GoogleCodeExporter commented 9 years ago
Never mind - looks like it can't be fixed, as it is a known bug in 
MonitoredVmUtil, a Sun class. I can't workaround this because MonitoredVmUtil 
is the only cross-platform-within-Java way of getting other VM information.

I see others complaining here: http://java.itags.org/java-core-apis/34206/. I 
can't find any corresponding Sun bugs around it yet, but I will hunt this down 
and report it if possible.

Original comment by arshan.d...@gmail.com on 2 Aug 2010 at 3:15