watch an array variable in ide/bdebugger

Aug 2, 2011
258
4
Berlin, Germany
Is it possible to watch an array variable in ide/bdebugger?
I can put a single array-element to the watch list, but I want to see the whole array (at least for 1-dimensional ones).
How can I accomplish this?
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
Is it possible to watch an array variable in ide/bdebugger?
I can put a single array-element to the watch list, but I want to see the whole array (at least for 1-dimensional ones).
How can I accomplish this?

The "watch" column can be a variable or a condition. Since a variable function is also a variable, you could watch an @EXECSTR containing a FOR or DO loop that iterates the array elements.
 
Similar threads
Thread starter Title Forum Replies Date
Kachupp IDE watch references Support 11
vefatica Empty .watch files saved Support 0
rconn News Forum email notifications (Forum Watch) Support 3
S Fixed BDEBUGGER died on invalid watch request Support 4
vefatica IDE watch window Support 1
S BDEBUGER: watch list limit? Support 4
vefatica Context menu "Add to watch"? Support 5
D Parsing an array variable to an array does not work Support 5
vefatica Setting array variable ignores leading spaces (and @execarray doesn't) Support 4
vefatica SET /A and multidimensional array. Support 1
vefatica Array name in a variable? Support 3
J WAD "setarray /f" only overwrites the first array var Support 2
J How to? Array sort according to multiple keys Support 3
S Documentation "DEFINED" vs. array elements Support 1
S WAD SET problem - array element initialization Support 11
C Simple .bat question - dump contents of 2 dimensional array Support 2
Charles Dye Array limits Support 8
S How to access array elements? Support 5
S ARRAY enhancements Support 0
vefatica Leading spaces in array variables Support 13
A What is the fastest way to dump a array Support 4
sully9 How to? Unexpected %DATE% CMD variable format (vs DATE /T format) in CMDebug Support 1
P Inserting string into a variable. Support 3
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
R Difference between TCC and CMD: variable names with hyphens Support 4
Joe Caverly Get a variable type Support 2
M How to set Path variable for non-executable file extensions in 4DOS Support 8
rps For loop internal %_for_files variable? Support 2
A How to safely print variable's value without quotes? Support 9
nikbackm TCC 20 variable expansion bug Support 6
X How to set %_INIREAD result to variable Support 5
Charles Dye _USBS variable Support 2
BeechComer Debugger: how to set %1 variable? Support 3
Mordachai Variable followed by function constantly failing... Support 5
T Variable indirection for arrays Support 1
Mike Hall Unexpected "Variable loop" in IF condition Support 10
vefatica If there's no PATH variable ... Support 5
C Maximum length for a variable Support 8
D WAD Internal variable _cpu is undefined Support 2
fpefpe How to? Global variable set /v Support 4
I Change value of a variable while debugging Support 3
I "IF" command in a variable does not expand redirection variable name Support 0
J Variable setting regression in tcc17 ? Support 5
Jay Sage WAD Variable _LOGFILE Not Working Support 2
D Fixed Change in behavior of variable expansion between 16 and 17 Support 3
rps Fixed Using last argument variable ! Support 5
Jay Sage Brackets Around Variable Names Support 11
D Internal variable _tctabs within TCExit Support 9
vefatica WAD Nested variable expansion in PDIR's @function[*]? Support 13
J Set environment variable from stdout of command Support 3

Similar threads