The current value can be displayed by typing EVAL varname, or put the
cursor on the variable and press F11.

The contents can be changed by using Eval varname = 'value'.

Art Tostaine, Jr.
CCA, Inc.
Jackson, NJ 08527


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Joe Pluta
Sent: Friday, September 05, 2003 10:47 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: STRDBG vs. STRISDB "watching variables"

> From: G Armour
>
> STRDBG
> has a Watch feature, but, after just now having checked it out, I
don't
> understand how it works; it seems to display a message every time the
> information at the address of the variable changes (?!?!?), but I see
> nothing that tells me what the current value of the variable is.
> 
> So, basically, is STRISDB's Watch Variable feature, as I've described
it
> above, available in STRDBG?

That's exactly how it works in STRDBG.  It "watches" for changes.  This
comes from older debugging technologies, where we watched memory
addresses or registers for changes, and stopped execution of the program
to see what triggered the change.

It's different, but does most of what you want.  Think of it this way:
if you haven't hit a watchpoint for a variable, you know the value of
the variable.  It's the same as it was the LAST time you looked <grin>.
The one thing you lose is the nice list of variables at the top of the
screen, which I wish we still had.  Maybe ask for an enhancement to
STRDBG.

Joe


_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.