Problems with Code Coverage [message #94404] |
Thu, 29 March 2007 00:00 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #94687 is a reply to message #94556] |
Mon, 02 April 2007 12:59 |
Eclipse User |
|
|
|
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 |
No real name 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
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04572 seconds