Re: API



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



.



Relevant Pages

  • How to save VFP Debuger windows size and position?
    ... I have specific preference while opening a debugger. ... Window and the Watch Window to have some specific Height and Width, ... seldom need Output and Locals Window, so I prefer them to hide, and I ...
    (microsoft.public.fox.programmer.exchange)
  • Re: AppleWin Debugger & AppleWin Ports
    ... I found the single-screen debugger constraining at first ... do what I needed within the window. ... the command line/docs are a little too obtuse for it ... debugger and set a breakpoint at $300, switch back to the emulator and CALL ...
    (comp.emulators.apple2)
  • Re: Why JIT Debugger Doesnt Work on Particular Project?
    ... > debugger doesn't seem to be working. ... any error in this one particular project just pops-up the window ... > app's config file, but the only config files I see are those in the ... But even when I removed the reference, still no debug window. ...
    (microsoft.public.dotnet.general)
  • Re: NetBeans debugger: suspend and see current stack trace how?
    ... My answer was about NetBeans. ... is a window with all the extant threads visible in the debugger view. ... Not by default, although once you open the window in the debugger, it will show the Threads window again next time it is started, at least on the same project. ... Lew, you should have mentioned you were using a beta build, because it *is* different than the stable version. ...
    (comp.lang.java.programmer)
  • Re: update graphics between debugger stepping
    ... So I tried writing the following, and calling it from the watch window ... This works best on a dual monitor system with the VPC maximized on one ... debugger coming into focus doesn't actually invalidate your application's ...
    (microsoft.public.dotnet.framework)