You can't just set a monitor for the constant name? Then it willalways
be visible over in the Monitor window while you are debugging using anfor
SEP.... you are using SEPs aren't you?
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
05/14/2010 08:20 AM
Please respond to
Rational Developer for IBM i / Websphere Development Studio Client for
System i& iSeries<wdsci-l@xxxxxxxxxxxx>
"Rational Developer for IBM i / Websphere Development Studio Client
System i& iSeries"<wdsci-l@xxxxxxxxxxxx>wrote:
Re: [WDSCI-L] WDSC Debugger - Display Named Constants
That was my first thought also...
However, named variables are just address, the compiler substitutes an
address every place a variable is used right?
It seems to me it's not unreasonable for the debugger to be able to
show us a constant.
Particularly since IIRC, for a constant, the compiler simply sets the
vaule up as automatic storage and replaces the name with an address
just like a variable.
On Thu, May 13, 2010 at 4:20 PM, David Gibbs<david@xxxxxxxxxxxx>
Mike Novak wrote:
Is there any way to display the value of a named constant in the
variabledebug perspective. Whenever I hover my pointer over any other
it shows the current value. Can I only get the named constant value
compilerreferring to the line where it's originally defined in the code?Doubtful ... named constants are just that ... constants. The
businessprobably just substitutes the assigned value whenever the name is
IBM i on Power Systems - For when you can't afford to be out of
This is the Rational Developer for IBM i / Websphere Development
Client for System i& iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.