| Summary: | Profiling - no execution data was colllected after "reset data" | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Ben Tran <tranb> | ||||||||
| Component: | TPTP | Assignee: | Eugene Chan <ewchan> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | critical | ||||||||||
| Priority: | P1 | CC: | jkubasta, mjimenez, slavescu, vitaly.a.provodin | ||||||||
| Version: | unspecified | Keywords: | plan | ||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | closed460 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Ben Tran
Reset data performs a detach and attach actions behind the cover. In this case, the object creation data are collected in the first attach and their corresponding data are not loaded in the second attach. Marius, does the loader ignore data in the second attach when those data are associated to object created in the first attach? Depends how you create the new agent, if it's not set in the loders' context it may not be used. Please save the agents and zip the project and attach it here. Also would be good to see the raw data, use the attached eclipse.ini to collect the raw events in CURRENT_DISK_DRIVE:\messageValue* files, zip and attach those here also. Created attachment 58980 [details]
eclipse.ini with debug options
Are there any instructions on how to use the aclipse.ini? thanks Just replace the eclipse.ini from your eclipse folder with the one attached here, then run eclipse.exe. Hi Marius, I added -DModelDebugger.debugEventValue=true and -DCommunicationDebug.debugMessageValue=true to rationalsdp.ini but I could not find the CURRENT_DISK_DRIVE:\messageValue* files. I attached my rationalsdp.ini file. Note: RAD 6.0 (Eclipse 3.0) uses rationalsdp.ini instead of eclipse.ini.) Created attachment 59806 [details]
RAD 6.0 rationalsdp.ini
I thought this was found in TPTP 4.0. In RAD 6.0 you could use Profile to file and check if you get some data, make sure you set the profile file (you could probably use different files for each monitoring session) before each start monitoring. updated sizing 'Reset Data' option is only available to JVMPI (JVM 1.4.*) profiling agent. And the problem is happening after the detach action. If I manually detach and reattach, I see the same behavior as reported where no further trace data is collected after the reattach action. I suspect something went wrong in the reattach scenario. Debug in org.eclipse.hyades.trace.ui.internal.actions.NewSnapshotActionDelegate.run(TRCAgentProxy, INavigator) indicated that Object instance = LoadersUtils.locateAgentInstance(fAgent); returns null and reattach fails to work. Created attachment 92955 [details]
patch
fixed in HEAD. 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. |