Another debugger observation

May 20, 2008
11,411
99
Syracuse, NY, USA
I noticed that IDE's built-in TCC has _TRANSIENT == 1. I doubt it will bother me but some might be surprised by unexpected results. If it must be so for correct functioning, it should probably be documented.
 

rconn

Administrator
Staff member
May 14, 2008
12,356
150
> I noticed that IDE's built-in TCC has _TRANSIENT == 1.

It always has, since the very first debugger version many years ago. As
does any batch file that's not run directly from the TCC prompt.

(And it's *not* a built-in TCC, as it only includes the scripting capability
and not the command line interface.)

Rex Conn
JP Software
 
May 20, 2008
11,411
99
Syracuse, NY, USA
On Sat, 11 Sep 2010 18:31:26 -0400, rconn <> wrote:

|(And it's *not* a built-in TCC, as it only includes the scripting capability
|and not the command line interface.)

Funny that you mentioned that. I have been meaning to suggest (for a future
version) that it would be convenient to have a combo-box where you could enter
commands (while not debugging) to be executed by IDE's interpreter to, for
example, stop a running TIMER or close a file (either of which might be left by
an aborted debug session).
 

rconn

Administrator
Staff member
May 14, 2008
12,356
150
> Funny that you mentioned that. I have been meaning to suggest (for a
> future version) that it would be convenient to have a combo-box where you
> could enter commands (while not debugging) to be executed by IDE's
> interpreter to, for example, stop a running TIMER or close a file (either
> of which might be left by an aborted debug session).

You already can (Alt-F11).

Rex Conn
JP Software
 
May 20, 2008
11,411
99
Syracuse, NY, USA
On Sat, 11 Sep 2010 21:13:24 -0400, rconn <> wrote:

|You already can (Alt-F11).

Could you allow commands there too?
 
May 20, 2008
11,411
99
Syracuse, NY, USA
On Sat, 11 Sep 2010 22:01:45 -0400, vefatica <> wrote:

|On Sat, 11 Sep 2010 21:13:24 -0400, rconn <> wrote:
|
||You already can (Alt-F11).
|
|Could you allow commands there too?

Never mind. That's easy enough with @EXEC.

Hmmm! I evaluated %@EXEC{timer on] and a few seconds later, %@EXEC[timer off].
In the console I saw

Code:
Timer 1 on: 22:20:56
Timer 1 off: 22:21:08  Elapsed: 0:00:00.00

That looks fishy.

If I keep evaluating %@EXEC[timer] over and over I see

Code:
Timer 1 on: 22:26:35
Timer 1 on: 22:26:44
Timer 1 on: 22:26:47
Timer 1 on: 22:26:48
 

rconn

Administrator
Staff member
May 14, 2008
12,356
150
> Hmmm! I evaluated %@EXEC{timer on] and a few seconds later,
> %@EXEC[timer off].
> In the console I saw
>
> Code:
> ---------
> Timer 1 on: 22:20:56
> Timer 1 off: 22:21:08 Elapsed: 0:00:00.00
> ---------
> That looks fishy.
>

WAD. You're not running a persistent interpreter in the evaluate expression
dialog. (Nor do I see any useful purpose in that.)

Rex Conn
JP Software
 
May 20, 2008
11,411
99
Syracuse, NY, USA
On Sat, 11 Sep 2010 23:22:44 -0400, rconn <> wrote:

|---Quote---
|> Hmmm! I evaluated %@EXEC{timer on] and a few seconds later,
|> %@EXEC[timer off].
|> In the console I saw
|>
|> Code:
|> ---------
|> Timer 1 on: 22:20:56
|> Timer 1 off: 22:21:08 Elapsed: 0:00:00.00
|> ---------
|> That looks fishy.
|>
|---End Quote---
|WAD. You're not running a persistent interpreter in the evaluate expression
|dialog. (Nor do I see any useful purpose in that.)

The whole idea originally came from wanting to stop a TIMER that was left
running when I aborted a debug run (because it was still on when I started
debugging again). Can that be done? What if I abort a debug run after
@FILEOPEN and without @FILECLOSE? Can I use Alt-F11 to evaluate @FILECLOSE and
close the handle? If not, is there any way to close it?
 
May 20, 2008
11,411
99
Syracuse, NY, USA
> ---Quote (Originally by vefatica)---
> Yeah, but it's not perfect (see my other post).
>
> I wouldn't mind that Alt-F11 thing in a combo box (with memory) on the
> toolbar.
> ---End Quote---
> Or, as a dialog, the ability to leave it open.

> Not possible; it'd mangle your batch file results.

It would benefit from some history recall then (ITNV of course).
 
Similar threads
Thread starter Title Forum Replies Date
jdanielp Cannot step into and/or call another .bat file when debugging .bat file Support 2
vefatica Another popup problem Support 10
S How to? Runs start /w in invisible mode OR run program after exit of another one Support 3
G Press on another Window Support 24
M Another possibly strange remote registry issue Support 5
vefatica Another problem with build 22. Support 3
Patulus Yet another thread on CMD compatibility Support 16
M Take Command 18, migrating to another machine, license problem. Support 1
MickeyF Another TPIPE question Support 6
vefatica Another installer thingy Support 1
vefatica Another @EVERYTHING question Support 4
C Touch command — I Need to touch matching files in another directory. Support 5
M Another "What is wrong?" Support 8
Bill de Haan Another installation is in progress Support 6
fishman@panix.com Another Problem with The Installer Support 1
Charles Dye Another modest proposal Support 4
Dan Glynhampton Documentation v15 help: Another mailto: link oddity Support 0
M WAD Another weird copy command errror... Support 2
M Yet another strange something re something called "@TCONVERT" Support 8
Charles Dye Documentation Another help nit Support 3
K_Meinhard Documentation Another installer nit Support 1
ehab aboudaya How to? change ALT-F6 to another key Support 1
A How to? Pass output from ffind to another command in a BTM file Support 5
M Another simple question re. Take Command/TCC window witdth in characters... Support 16
Q TCC: (Sys) The process cannot access the file because it is being used by another process. Support 0
M Another bit of weirdness.... Support 0
S MOVE from FTP directory to another FTP directory - bug?? Support 2
vefatica Another DO /L question Support 1
M Another TCMD "crash" situation... Support 2
S Need help to execute TCC commands on another system Support 6
B TCC doesn't run using another user Support 2
H Another multiple FTP password prompt issue Support 2
Peter Bratton Another little bug? Support 1
M Another problem with renaming files... Support 3
nikbackm Another HISTORY dialog issue Support 0
vefatica Another help nit Support 12
S Another 4NT 8.02 vs TCC 9.02 diff - MOVE command Support 3
p.f.moore Running another batch file without CALL Support 7
S Debugger keeps breaking with no break point set. Support 1
D Layout debugger windows Support 2
R Batch Debugger Command Expansion Window Support 3
S Debugger menu absent Support 10
MikeBaas Using the debugger Support 2
R Take Command Debugger v22 ENDCOMMENT not bolded Support 6
K Batch debugger not stepping correctly Support 4
S Output from debugger Support 4
Joe Caverly Works in debugger, not from cmd line Support 1
S Problems with dir command in the debugger Support 5
S Debugger Bat file call history Support 9
T WAD Strange Unexpected "features" in the Debugger Support 2

Similar threads