line coverage tool: library piLLCAgent [message #77489] |
Mon, 17 July 2006 08:02 |
Eclipse User |
|
|
|
Originally posted by: prince.pajero.gmail.com
While running the JUnit Plugin test after enabling the code coverage
tool from the Package explorer, I get this:-
Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: piLLCAgent
The agent controller is configured properly and running.
Using: eclipse 3.2
TPTP 4.2
Agent Controller 4.2
|
|
|
|
Re: line coverage tool: library piLLCAgent [message #77532 is a reply to message #77505] |
Mon, 17 July 2006 12:27 |
Eclipse User |
|
|
|
Originally posted by: prince.pajero.gmail.com
Hi Paul,
I'm running an Eclipse JUnit plug-in test(Run As > JUnit Plug-in Test)
All the classes are in the workspace.
I'm not using any special launch configuration.
Also, I tried Code coverage for a simple Hello world java project(not a
plugin) but I get the same error. i.e.:-
"Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: piLLCAgent"
Paul Slauenwhite wrote:
> Hi Prince,
> Are you running a TPTP JUnit plug-in test or an Eclipse JUnit plug-in
> test? Are all the class for the JUnit plug-in test in the workspace and are
> you running using a launch configuration?
>
> Paul
> "Prince Singh" <prince.pajero@gmail.com> wrote in message
> news:e9fg54$944$1@utils.eclipse.org...
>> While running the JUnit Plugin test after enabling the code coverage
>> tool from the Package explorer, I get this:-
>>
>> Error occurred during initialization of VM
>> Could not find agent library on the library path or in the local
>> directory: piLLCAgent
>>
>> The agent controller is configured properly and running.
>>
>> Using: eclipse 3.2
>> TPTP 4.2
>> Agent Controller 4.2
>
>
|
|
|
|
Re: line coverage tool: library piLLCAgent [message #77563 is a reply to message #77548] |
Mon, 17 July 2006 13:01 |
Eclipse User |
|
|
|
Originally posted by: prince.pajero.gmail.com
Hi Valentina,
Yes, I'm using Java 1.5
And using the Profile action solves the problem.
Most probably it is not linked with the issue that you mentioned. It
seems to me that the problem might be there when run with Java 1.5
I'll try to run using Java 1.4 and post the results again.
Valentina Popescu wrote:
> 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
>
>
>
> "Prince Singh" <prince.pajero@gmail.com> wrote in message
> news:e9fg54$944$1@utils.eclipse.org...
>
>> While running the JUnit Plugin test after enabling the code coverage tool
>> from the Package explorer, I get this:-
>>
>> Error occurred during initialization of VM
>> Could not find agent library on the library path or in the local
>> directory: piLLCAgent
>>
>> The agent controller is configured properly and running.
>>
>> Using: eclipse 3.2
>> TPTP 4.2
>> Agent Controller 4.2
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02757 seconds