Alex, I just answered a similar question on the TPTP newsgroup

The line level coverage is collected using a probe instrumentation
technique. From the exception you get it seems that the probe
instrumentation fails to execute.
This may be linked with defect

https://bugs.eclipse.org/bugs/show_bug.cgi?id=130923

What is the jvm version used by your Eclipse client ? There is a known issue
when running line coverage with java 5.

Can you try this workaround:
- launch your JUnit application by using the Profile.. action instead of the
Run... action
- in the Profile... launch configuration, under the Monitor tab, select Line
Code Coverage under the Java Profiling section.
By running line coverage from the Profile action you can explicitly set the
packages and classes you want to instrument. ( select the Java Profiling
section and then Edit Options action. Make sure you exclude java* and
com.ibm*; the probe engine cannot instrument some of the java classes since
this may create circular dependencies at class load time)

Valentina




Thank you,
Valentina Popescu
IBM Toronto Labs
Phone:  (905)413-2412         (tie-line  969)
Fax: (905) 413-4850



"Alex Soto" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

07/17/2006 03:31 AM

Please respond to
TPTP Tracing and Profiling Tools Project developer discussions <tptp-tracing-profiling-tools-dev@eclipse.org>

To
<tptp-tracing-profiling-tools-dev@eclipse.org>
cc
Subject
[tptp-tracing-profiling-tools-dev] Code Coverage TPTP Problem





I just don't know if i have to report this problem to this mailing list,
but maybe anyone can help.

Im using TPTP with Code Coverage feature. This feature works as method
coverage, or profiling. At about 75% of cases works perfectly. But there
is a 25 % that a message telling "Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: piLLCAgent".

It is strange because i run first time a test, and works, and then i
modify some line of code, and re-run the code coverage and the previous
message is shown.

The solution is restart eclipse. Anybody knows why happens this problem?

Thank you very much.


La información contenida en el presente e-mail es confidencial y está reservada para el uso exclusivo de su destinatario. Se prohíbe estrictamente la distribución, copia o utilización de esta información sin el previo permiso de su destinatario. Si usted no fuera el destinatario, por favor notifíquelo inmediatamente al remitente y elimine el presente mensaje de su sistema informático.

Information contained in this e-mail is confidential and is intended for the use of the addressee only. Any dissemination, distribution, copying or use of this communication without prior permission of the addressee is strictly prohibited. If you are not the intended addressee, please notify the sender immediately by reply and then delete this message from your computer system.
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to