On Windows, whenever I try to profile an applet from within Idea 5, I get this error:
YourKit Java Profiler 4.0.11 cannot start: unknown option 'profileruipath=" (followed by a large number)
I thought initially that this has something to do with the fact that I've installed YourKit somewhere other than the recommended location in Program Files. However, I can profile applications fine, and they seem to be launched with the same profileruipath value.
This happens in prerelease biulds 650 and 652. I swear this worked the last time I tried it, but that may have been with an earlier build.
Thanks,
Wilils Morse
ShiftClick
Profile launch failure from Idea for applets only
-
- Posts: 4
- Joined: Wed Sep 14, 2005 2:15 pm
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
-
- Posts: 46
- Joined: Mon Jan 24, 2005 3:01 pm
I suspect this is because applet run-configurations don't have a working directory, thus they're using the current working directory of the IDEA instance, which is IDEA-HOME/bin. Since IDEA is shipped with YJP 4.0.x, the JVM that runs the applet picks up the DLL from this directory.
Sounds like the DLL should use a naming scheme that identifies the DLL's version to avoid problems with picking up wrong DLLs from incompatible versions.
Sascha
Sounds like the DLL should use a naming scheme that identifies the DLL's version to avoid problems with picking up wrong DLLs from incompatible versions.
Sascha
-
- Posts: 46
- Joined: Mon Jan 24, 2005 3:01 pm