Re: API
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Wed, 28 May 2008 08:17:59 -0700
Use the Watch window or the Locals window. This is not some magical
incantation that you do have to do. Every visual debugger I've ever used,
including some that came out before Windows existed, did this the same way.
It should be clear that you may, since what you're modifying is an array of
characters, not a single value, have to set each character, one at a time,
and then set the terminating null character to complete the string.
Paul T.
"ashishedn" <ashishedn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3CB83FDC-F155-46E8-A39B-5CDC679B51B6@xxxxxxxxxxxxxxxx
Can somebody tell that how to set the variable dynamically in the
debugger?
"r_z_aret@xxxxxxxxxxxx" wrote:
On Tue, 27 May 2008 11:12:01 -0700, ashishedn
<ashishedn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I meant to say that suppose we have defined some variable like "char
mode[7]".
and two possible values for variable "mode" are "auto"/"manual".Then how
to
set any of these two values to variable "mode" during execution of
application.
Are you trying to set the variable dynamically (perhaps by typing) in
the debugger while the program is running? Perhaps to vary execution
paths while you watch?
"Bruce Eitman [eMVP]" wrote:
int variable = 5;
variable++;
I think from Chris, Paul and my response that your problem definition
is not
clear. What do you want to do?
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"ashishedn" <ashishedn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CA80809C-2D71-4A51-8B48-88DC0CB8FC5F@xxxxxxxxxxxxxxxx
Hi,
I am developing an application using C on eVC++ 4.0 platform.I am
testing
the application using emulator.
How the value of a variable can be changed while application is
running on
emulator/device?
Thanks,
Ashish
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.
- Follow-Ups:
- Re: API
- From: ashishedn
- Re: API
- Prev by Date: Re: API
- Next by Date: Re: OS Design and developping application on it
- Previous by thread: Re: API
- Next by thread: Re: API
- Index(es):
Relevant Pages
|