Community
Participate
Working Groups
Build ID: M20070822-0800 Steps To Reproduce: 1. launch an application profiling execution statistics (for example the InOut class from the automation framework) 2. select and detach the profile monitor The result is an error: [Error: Detach failed] to the console. This happens for enabled or controlled. If I launch a controlled app from the command line: D:\alan\tptp\441\09101254\workspace\org.eclipse.tptp.ac.testautomation\automatio n-files\external_classes>java -agentlib:JPIBootLoader=JPIAgent:server=controlled ;CGProf InOut I can successfully attach (unlike 203013) but if I detach I get the same error as above. More information: InOut class used is: /org.eclipse.tptp.ac.testautomation/automation-files/external_classes/InOut.class
This was originally found on Vista
What JVM are you using Does the app terminate after that
I am using IBM 1.5 SR5 and the app does terminate. This is not readily apparent until you try to do something else if the app. was launched by the gui but from the cli it is obviously terminated.
This is another duplicate of bug 202550 and the root-cause is the same. In the case of "controlled" mode, dynamic byte-code instrumentation is required only upon detach. Therefore the workbench can successfully attach but fails to detach. *** This bug has been marked as a duplicate of bug 202550 ***
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.