Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Using Probekit with Eclipse Plugins
Using Probekit with Eclipse Plugins [message #90405] Sat, 16 December 2006 15:42 Go to next message
Eclipse User
Originally posted by: aheydarn.cs.uwaterloo.ca

Hi,

I intend to use Probekit to instrument an Eclipse plugin that I am
developing. However, when I start profiling and the new Eclipse Workbench is
being launched, the profiling process terminates and the new Eclipse
Workbench is not launched. Do you know how can I solve it? Isn't it because
of the agent controller?

Thanks a lot,
Abbas

P.S.: This problem is only with the Probekit. For example, there is not such
a problem with the "Execution Time Analysis" option in the Monitor tab.
Re: Using Probekit with Eclipse Plugins [message #90480 is a reply to message #90405] Mon, 18 December 2006 15:55 Go to previous messageGo to next message
Eclipse User
Originally posted by: nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 005785F285257248_=
Content-Type: text/plain; charset="US-ASCII"

Hi Abbas,

This most likely has to do with your filtering. You're probably filtering
a startup class which is causing the workbench to crash. Try to narrow
down your filters to only match your own classes.

Navid Mehregani
--=_alternative 005785F285257248_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi Abbas,</font>
<br>
<br><font size=2 face="sans-serif">This most likely has to do with your
filtering. &nbsp;You're probably filtering a startup class which is causing
the workbench to crash. &nbsp;Try to narrow down your filters to only match
your own classes.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 005785F285257248_=--
Re: Using Probekit with Eclipse Plugins [message #90495 is a reply to message #90480] Mon, 18 December 2006 17:11 Go to previous messageGo to next message
Eclipse User
Originally posted by: aheydarn.cs.uwaterloo.ca

This is a multi-part message in MIME format.

------=_NextPart_000_000E_01C7229D.A91C4300
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear Navid,

=20

Thanks for your reply.

=20

I have only defined the following statements in my filter in the =
following order:

=20

Class (ca.uwaterloo.gp.fsp.*) - Method (*) - Rule (INCLUDE)

Class (*) - Method (*) - Rule (EXCLUDE)

=20

But, profiling terminates whenever I start it. Is there anything wrong =
in the definition of my filter?

=20

Thanks a lot,

Abbas
------=_NextPart_000_000E_01C7229D.A91C4300
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.5730.11" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">Dear Navid,</P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><?xml:namespace =
prefix =3D o ns =3D=20
"urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;</o:p></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">Thanks for your =
reply.</P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><o:p>&nbsp;</o:p></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">I have only defined =
the following=20
statements in my filter in the following order:</P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><o:p>&nbsp;</o:p></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">Class =
(ca.uwaterloo.gp.fsp.*) =96=20
Method (*) =96 Rule (INCLUDE)</P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">Class (*) =96 Method =
(*) =96 Rule=20
(EXCLUDE)</P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><o:p>&nbsp;</o:p></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">But, profiling =
terminates=20
whenever I start it. Is there anything wrong in the definition of my =
filter?</P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><o:p>&nbsp;</o:p></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">Thanks a lot,</P>
<DIV><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA">Abbas</SPAN></DIV></BODY></HTML>

------=_NextPart_000_000E_01C7229D.A91C4300--
Re: Using Probekit with Eclipse Plugins [message #90524 is a reply to message #90495] Tue, 19 December 2006 16:32 Go to previous messageGo to next message
Eclipse User
Originally posted by: nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 005AE1CC85257249_=
Content-Type: text/plain; charset="US-ASCII"

Hi Abbas,

No, your filters look right to me. What I believe is happening is that
your instrumenting a class in such a way that the JVM doesn't like, which
is causing it to crash (this has happened to me before). Try changing
your filters anyways to see if it makes a difference. Also look over your
probe to see what could be causing the JVM to crash. Try using a simpler
probe against your filtering criteria (e.g. EntryExit Probe). Let me know
what happens.

Navid Mehregani
--=_alternative 005AE1CC85257249_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi Abbas,</font>
<br>
<br><font size=2 face="sans-serif">No, your filters look right to me. &nbsp;What
I believe is happening is that your instrumenting a class in such a way
that the JVM doesn't like, which is causing it to crash (this has happened
to me before). &nbsp;Try changing your filters anyways to see if it makes
a difference. &nbsp;Also look over your probe to see what could be causing
the JVM to crash. &nbsp;Try using a simpler probe against your filtering
criteria (e.g. EntryExit Probe). &nbsp;Let me know what happens.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 005AE1CC85257249_=--
Re: Using Probekit with Eclipse Plugins [message #90583 is a reply to message #90524] Wed, 20 December 2006 02:45 Go to previous messageGo to next message
Eclipse User
Originally posted by: aheydarn.cs.uwaterloo.ca

This is a multi-part message in MIME format.

------=_NextPart_000_001A_01C723B7.0878A4A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Navid,

I am now using the simple EntryExit probe. But, again the problem =
exists. However, as before, there is not such a problem when I do the =
static instrumentation.

Thanks,
Abbas

"Navid_Mehregani" <nmehrega@ca.ibm.com> wrote in message =
news:em9478$ff3$1@utils.eclipse.org...

Hi Abbas,=20

No, your filters look right to me. What I believe is happening is =
that your instrumenting a class in such a way that the JVM doesn't like, =
which is causing it to crash (this has happened to me before). Try =
changing your filters anyways to see if it makes a difference. Also =
look over your probe to see what could be causing the JVM to crash. Try =
using a simpler probe against your filtering criteria (e.g. EntryExit =
Probe). Let me know what happens.=20

Navid Mehregani
------=_NextPart_000_001A_01C723B7.0878A4A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.5730.11" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Navid,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am now using the simple EntryExit =
probe. But,=20
again the problem exists. However, as before,&nbsp;there is not such a =
problem=20
when I do the static instrumentation.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Abbas</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Navid_Mehregani" &lt;<A=20
href=3D"mailto:nmehrega@ca.ibm.com">nmehrega@ca.ibm.com</A>&gt; wrote =
in message=20
<A=20
=
href=3D"news:em9478$ff3$1@utils.eclipse.org">news:em9478$ff3$1@utils.ecli=
pse.org</A>...</DIV><BR><FONT=20
face=3Dsans-serif size=3D2>Hi Abbas,</FONT> <BR><BR><FONT =
face=3Dsans-serif=20
size=3D2>No, your filters look right to me. &nbsp;What I believe is =
happening is=20
that your instrumenting a class in such a way that the JVM doesn't =
like, which=20
is causing it to crash (this has happened to me before). &nbsp;Try =
changing=20
your filters anyways to see if it makes a difference. &nbsp;Also look =
over=20
your probe to see what could be causing the JVM to crash. &nbsp;Try =
using a=20
simpler probe against your filtering criteria (e.g. EntryExit Probe).=20
&nbsp;Let me know what happens.</FONT> <BR><BR><FONT face=3Dsans-serif =

size=3D2>Navid Mehregani</FONT></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_001A_01C723B7.0878A4A0--
Re: Using Probekit with Eclipse Plugins [message #90691 is a reply to message #90583] Fri, 22 December 2006 14:25 Go to previous message
Eclipse User
Originally posted by: nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 004F39EB8525724C_=
Content-Type: text/plain; charset="US-ASCII"

This is really strange. Have you tried switching back and forth to Agent
Controller and Integrated Agent Controller (IAC)? I have no idea why your
workbench would fail to launch with the EntryExit probe. Can you try
instrumenting with a fresh copy of the workbench?

Navid Mehregani
--=_alternative 004F39EB8525724C_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">This is really strange. &nbsp;Have you
tried switching back and forth to Agent Controller and Integrated Agent
Controller (IAC)? I have no idea why your workbench would fail to launch
with the EntryExit probe. &nbsp;Can you try instrumenting with a fresh
copy of the workbench?</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 004F39EB8525724C_=--
Previous Topic:HTTP recording doesn't work
Next Topic:TPTP as a performance tool
Goto Forum:
  


Current Time: Sun Oct 26 07:16:41 GMT 2014

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

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