× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ewout,

What is the type of your variable ? 
If your variable is RPG or COBOL array, you can specify it with a range 
when adding an expression monitor, such as myvariable(101..110). 
For C++/C array,  WDSC integrated debugger does not support array subset 
syntax yet , such as myvariable[101..110].  You can  monitor array or 
string starting from a specific position though, using myvariable + 101. 


date: Wed, 4 Jan 2006 09:44:14 +0100
from: Ewout N Boter <ewout.boter@xxxxxxxxxx>
subject: [WDSCI-L] Substring in Monitor Expression

In a debug session, I want to check the value of a specific portion of a 
large (buffer) variable. For example, I just want to check positions 
101-110. How can I achieve this? As it seems, Monitor Expression does not 
have the possibility to set a substring. Am I missing something? 
(Actually, I hope so.)

Ewout



Thanks,

Li Ding
Problem Determination Tools for iSeries
IBM Toronto Lab
Phone: (905)413-4393, Tie-Line:969-4393
Internet Email: lding@xxxxxxxxxx 
Internal Mail Address: D1/Dept.089/8200/MKM

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.