Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Can the probekit change the method param,how to ?
Can the probekit change the method param,how to ? [message #85522] Wed, 18 October 2006 09:42 Go to next message
Eclipse UserFriend
Originally posted by: feng-bing.xu.verigy.com

hi,
anyone have used probekit to change the method param?

i made a entry fragment to instrument some method like "methodname(String
str) and , in the "Data Type" part, I used a "args" Data type named
"methodargs".

in the fragment, i write some program like "methodargs[0]="sss"
after everything do, when i run the instrumentd program, i find the method
args is not changed.

Is it designed only to read paras ?

or any method to change the paras used in a method?


PS: i am sure i have do instrument to the class and everything related to
config and environment is OK
Re: Can the probekit change the method param,how to ? [message #85553 is a reply to message #85522] Wed, 18 October 2006 14:18 Go to previous message
Eclipse UserFriend
Originally posted by: nmehrega.ca.ibm.com

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

No, you can't change the method parameter in your probe. Probekit is
meant for collecting runtime data about an application, it's not meant to
change the behaviour of that application. The method arguments you get in
your entry fragment are a copy of those arguments, they're not the actual
references to your method arguments.

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


<br><font size=2 face="sans-serif">No, you can't change the method parameter
in your probe. &nbsp;Probekit is meant for collecting runtime data about
an application, it's not meant to change the behaviour of that application.
&nbsp;The method arguments you get in your entry fragment are a copy of
those arguments, they're not the actual references to your method arguments.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 004E93638525720B_=--
Previous Topic:AGR : using loop with DataPool
Next Topic:Testing Plugin
Goto Forum:
  


Current Time: Sat Sep 21 12:41:59 GMT 2024

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

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

Back to the top