Hello,
I think it could be useful to know which VM (Classic, Hotspot, others...)
is launched or attached by JDebug.
Here is a new version of my previous patch to jde.debugger.Application.java
to add the display of informations about the debuggee VM.
345c345,355
< commandLine += quote + iterator.next() + quote + " ";
---
> String arg = (String)iterator.next();
> if (arg.equalsIgnoreCase("-classic")) {
> Connector.Argument optionsArg =
> (Connector.Argument)argumentMap.get("options");
> String options = optionsArg.value();
> options = "-classic" + " " + options;
> optionsArg.setValue(options);
> signal(MESSAGE, "VM options: '" + options + "'");
> }
> else
> commandLine += quote + arg + quote + " ";
352a363
> signal(MESSAGE, "Launched VM " + vm.description());
400a412
> signal(MESSAGE, "Attached VM (socket) " + vm.description());
425a438
> signal(MESSAGE, "Attached VM (shmem) " + vm.description());
Sincerely,
David