Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Problems with Code Coverage
Problems with Code Coverage [message #94404] Thu, 29 March 2007 00:00 Go to next message
Eclipse UserFriend
Originally posted by: naabou.wnt.sas.com

I am trying to use this feature on 4.2.2 and it works the first time only:
after that I get the following error:

Error occurred during initialization of VM

Could not find agent library on the library path or in the local directory:
piLLCAgent

I saw that other developers had the same problem before and were told that
they should use "Profile" instead of "Run" - but this is what I am doing.
The problem I believe is that after the first call, TPTT switches to the
installed Agent Controller running on port 10002 instead of using the
integrated agent. I was able to verify that by going back to
Window->Preferences->Profiling and Logging->Hosts. Even after I explicily
set it to use the "Local Direct Connection" option, it reverts back to
"localhost:10002".

Any suggestions?

Thanks,

Nascif
Re: Problems with Code Coverage [message #94420 is a reply to message #94404] Thu, 29 March 2007 02:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: naabou.wnt.sas.com

On top of that, I can't get line coverage to work as in the viewlet - I
don't get the "method and line coverage" option, just "method coverage"
which just support a summary with percentage numbers. I can't get the
per-line indicators on the editor window.

Is that supposed to be a 4.3.1 feature only, or should it work with 4.2.2 as
well?

"Nascif Abousalh-Neto" <naabou@wnt.sas.com> wrote in message
news:euevjo$iqm$1@build.eclipse.org...
>I am trying to use this feature on 4.2.2 and it works the first time only:
>after that I get the following error:
>
> Error occurred during initialization of VM
>
> Could not find agent library on the library path or in the local
> directory: piLLCAgent
>
> I saw that other developers had the same problem before and were told that
> they should use "Profile" instead of "Run" - but this is what I am doing.
> The problem I believe is that after the first call, TPTT switches to the
> installed Agent Controller running on port 10002 instead of using the
> integrated agent. I was able to verify that by going back to
> Window->Preferences->Profiling and Logging->Hosts. Even after I explicily
> set it to use the "Local Direct Connection" option, it reverts back to
> "localhost:10002".
>
> Any suggestions?
>
> Thanks,
>
> Nascif
>
>
>
>
Re: Problems with Code Coverage [message #94556 is a reply to message #94420] Fri, 30 March 2007 08:31 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
In a vanilla 4.3.1 driver + code coverage tech preview item, I'm not able to
see the code coverage analysis type under the profile launch configuration.
I've opened the following defect
https://bugs.eclipse.org/bugs/show_bug.cgi?id=180150 to address the problem.

I was able to repeatedly run line code coverage using the "Engage Line
Coverage" toolbar button included with the package explorer view.


"Nascif Abousalh-Neto" <naabou@wnt.sas.com> wrote in message
news:euf9ep$33c$1@build.eclipse.org...
> On top of that, I can't get line coverage to work as in the viewlet - I
> don't get the "method and line coverage" option, just "method coverage"
> which just support a summary with percentage numbers. I can't get the
> per-line indicators on the editor window.
>
> Is that supposed to be a 4.3.1 feature only, or should it work with 4.2.2
> as well?
>
> "Nascif Abousalh-Neto" <naabou@wnt.sas.com> wrote in message
> news:euevjo$iqm$1@build.eclipse.org...
>>I am trying to use this feature on 4.2.2 and it works the first time only:
>>after that I get the following error:
>>
>> Error occurred during initialization of VM
>>
>> Could not find agent library on the library path or in the local
>> directory: piLLCAgent
>>
>> I saw that other developers had the same problem before and were told
>> that they should use "Profile" instead of "Run" - but this is what I am
>> doing. The problem I believe is that after the first call, TPTT switches
>> to the installed Agent Controller running on port 10002 instead of using
>> the integrated agent. I was able to verify that by going back to
>> Window->Preferences->Profiling and Logging->Hosts. Even after I
>> explicily set it to use the "Local Direct Connection" option, it reverts
>> back to "localhost:10002".
>>
>> Any suggestions?
>>
>> Thanks,
>>
>> Nascif
>>
>>
>>
>>
>
>
Re: Problems with Code Coverage [message #94687 is a reply to message #94556] Mon, 02 April 2007 12:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: naabou.wnt.sas.com

I can do that too, but I jst get the summary information.
Do you get the markers on the source code editor as well?

"Ali Mehregani" <amehrega@ca.ibm.com> wrote in message
news:euihtk$t9u$1@build.eclipse.org...
> In a vanilla 4.3.1 driver + code coverage tech preview item, I'm not able
> to see the code coverage analysis type under the profile launch
> configuration. I've opened the following defect
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=180150 to address the
> problem.
>
> I was able to repeatedly run line code coverage using the "Engage Line
> Coverage" toolbar button included with the package explorer view.
>
>
> "Nascif Abousalh-Neto" <naabou@wnt.sas.com> wrote in message
> news:euf9ep$33c$1@build.eclipse.org...
>> On top of that, I can't get line coverage to work as in the viewlet - I
>> don't get the "method and line coverage" option, just "method coverage"
>> which just support a summary with percentage numbers. I can't get the
>> per-line indicators on the editor window.
>>
>> Is that supposed to be a 4.3.1 feature only, or should it work with 4.2.2
>> as well?
>>
>> "Nascif Abousalh-Neto" <naabou@wnt.sas.com> wrote in message
>> news:euevjo$iqm$1@build.eclipse.org...
>>>I am trying to use this feature on 4.2.2 and it works the first time
>>>only: after that I get the following error:
>>>
>>> Error occurred during initialization of VM
>>>
>>> Could not find agent library on the library path or in the local
>>> directory: piLLCAgent
>>>
>>> I saw that other developers had the same problem before and were told
>>> that they should use "Profile" instead of "Run" - but this is what I am
>>> doing. The problem I believe is that after the first call, TPTT switches
>>> to the installed Agent Controller running on port 10002 instead of using
>>> the integrated agent. I was able to verify that by going back to
>>> Window->Preferences->Profiling and Logging->Hosts. Even after I
>>> explicily set it to use the "Local Direct Connection" option, it reverts
>>> back to "localhost:10002".
>>>
>>> Any suggestions?
>>>
>>> Thanks,
>>>
>>> Nascif
>>>
>>>
>>>
>>>
>>
>>
>
>
Re: Problems with Code Coverage [message #94777 is a reply to message #94687] Tue, 03 April 2007 19:39 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Yes, I did get the markers.

"Nascif Abousalh-Neto" <naabou@wnt.sas.com> wrote in message
news:euqun6$6ha$1@build.eclipse.org...
>I can do that too, but I jst get the summary information.
> Do you get the markers on the source code editor as well?
>
> "Ali Mehregani" <amehrega@ca.ibm.com> wrote in message
> news:euihtk$t9u$1@build.eclipse.org...
>> In a vanilla 4.3.1 driver + code coverage tech preview item, I'm not able
>> to see the code coverage analysis type under the profile launch
>> configuration. I've opened the following defect
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=180150 to address the
>> problem.
>>
>> I was able to repeatedly run line code coverage using the "Engage Line
>> Coverage" toolbar button included with the package explorer view.
>>
>>
>> "Nascif Abousalh-Neto" <naabou@wnt.sas.com> wrote in message
>> news:euf9ep$33c$1@build.eclipse.org...
>>> On top of that, I can't get line coverage to work as in the viewlet - I
>>> don't get the "method and line coverage" option, just "method coverage"
>>> which just support a summary with percentage numbers. I can't get the
>>> per-line indicators on the editor window.
>>>
>>> Is that supposed to be a 4.3.1 feature only, or should it work with
>>> 4.2.2 as well?
>>>
>>> "Nascif Abousalh-Neto" <naabou@wnt.sas.com> wrote in message
>>> news:euevjo$iqm$1@build.eclipse.org...
>>>>I am trying to use this feature on 4.2.2 and it works the first time
>>>>only: after that I get the following error:
>>>>
>>>> Error occurred during initialization of VM
>>>>
>>>> Could not find agent library on the library path or in the local
>>>> directory: piLLCAgent
>>>>
>>>> I saw that other developers had the same problem before and were told
>>>> that they should use "Profile" instead of "Run" - but this is what I am
>>>> doing. The problem I believe is that after the first call, TPTT
>>>> switches to the installed Agent Controller running on port 10002
>>>> instead of using the integrated agent. I was able to verify that by
>>>> going back to Window->Preferences->Profiling and Logging->Hosts. Even
>>>> after I explicily set it to use the "Local Direct Connection" option,
>>>> it reverts back to "localhost:10002".
>>>>
>>>> Any suggestions?
>>>>
>>>> Thanks,
>>>>
>>>> Nascif
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Previous Topic:Build Verification tests
Next Topic:Posting on behalf of Rakesh Sagar
Goto Forum:
  


Current Time: Tue Mar 19 04:33:11 GMT 2024

Powered by FUDForum. Page generated in 0.03022 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top