Change value of a variable while debugging

Oct 28, 2015

I'm new in Take Command and just evaluating the IDE with some batch files I needed to maintain. The debugging option in the IDE is excellent, but I cannot find any way to change the value of a certain variable while debugging the execution.

At first I tried to change the value in the watch window, but the value column is read only. The evaluate expression window also is not useful because the results on it, does'nt applies outside. And also, the code window becomes read only so I cannot change anything test different scenarios without stopping the execution, editing the code, saving changes and running all again.

If there is any way and I missed it, please point me to it (and sorry!).
If not, I think it would be great to have this feature in future versions.

Thanks you!
May 20, 2008
Syracuse, NY, USA
You can change it in the "Environment" tab and pres the "Reset" toolbar button. Then it shows up as changed in the "Watch" tab.
  • Like
Reactions: incom2
Oct 28, 2015
You can change it in the "Environment" tab and pres the "Reset" toolbar button. Then it shows up as changed in the "Watch" tab.
Thanks you very much! Just tried and working OK! :)

Except with arguments like %1, %2, ..., %n: with those, the changes seems to apply (in the "modified" tab I can see them) but in the watch tab and while debugging they are not (maybe are read only?). Anyway it does'nt worries me because It's not usual needing to change those, so I'm telling it because I just found it.
Similar threads
Thread starter Title Forum Replies Date
R History window wrong size, can't remember size change Support 12
H Behavior change re piping a string to a Java program Support 1
Alpengreis [FORUM] After change the font, bold is without effect Support 7
R How to? Change TCMD tab font size in window menu Support 3
E How to change window title tcmd window - not tcc window Support 1
Alpengreis Small things to change in installer and after installed Everything Support 0
Charles Dye File completion change Support 11
T Change language in script Support 4
Jay Sage Change in Behavior of Activate Command Support 4
T Change language after installation Support 4
WadeHatler Fixed Breaking change in Expression evaluation (.and.) in v17 Support 6
D Fixed Change in behavior of variable expansion between 16 and 17 Support 3
Peter Bratton Change in scrput behaviour Support 4
A How to? Can't change directory ("cd") into system hidden files Support 13
J Change folder TCC starts in Support 2
vefatica A small change Support 7
ehab aboudaya How to? change ALT-F6 to another key Support 1
S How to? Change thread prefix? Easy "create thread" method? Support 8
S Terminology change Support 2
Peter Bratton @ping behavior change Support 2
T signaling firstcondition and cannot change colors Support 8
newbie Change percent-sign to anything-else in filename Support 24
nikbackm Change format of DIR totals Support 3
Stefano Piccardi did the forum software change in the last two days? Support 2
nikbackm LocalHistory change Support 3
vefatica Setting the default value with @REGSET? Support 1
Fross Deleting Registry DWord Value Support 2
R Problem with @INT[ value] in V26 Support 9
Peter Murschall OPTION //directive=value is a ENDLOCAL Support 3
T Returning a value from internal Lua scripts to TCC Support 2
A How to safely print variable's value without quotes? Support 9
D Envar _tcexit has value, even with /IX startup parameter Support 0
Steve Pitts Maximum value of Buffer Rows Support 7
S How to? Monitor shutdown event and write registry value Support 2
G WAD _DOS and VER/r returns incorect value Support 2
D Minor problem. Incorrect value internal var _dir_files Support 7
B Why Does @GETDIR Repeat Selected Directory Name In Returned Value Support 7
samintz How to? Sort on hex value Support 7
T Strange CPU value Support 3
vefatica DO variable left with empty value Support 0
vefatica Is this of any value? Support 2
D Bad CPU value in status bar Support 2
J How to use RegQuery for value with \name Support 2
Charles Dye Create empty registry value? Support 5
D Parsing an array variable to an array does not work Support 5
sully9 How to? Unexpected %DATE% CMD variable format (vs DATE /T format) in CMDebug Support 1
P Inserting string into a variable. Support 3
vefatica Setting array variable ignores leading spaces (and @execarray doesn't) Support 4
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

Similar threads