V17 beta, debugger: STRG-S is inserting character instead of saving

Apr 20, 2011
21
0
#1
Hi,

V17 Beta:

I started my batch with bdebugger, after some debugging I now get an [DC3] character within the editor window instead of a saved file by pressing CTRL-S to save.



Regards

Mike
 
Apr 20, 2011
21
0
#4
I'm using the V17 Beta x64 on a German Win7. No plugins.

The code Charles posted results in:
Code:
C:\Program Files\JPSoft\TCMD17x64]echo %@convert[10,16,%@winapi[user32.dll,GetKeyboardLayout,0]]
4070807
 
Apr 20, 2011
21
0
#5
Btw: On a fresh start of the debugger all seems fine. After some time debugging scripts (single stepping, run until breakpoint) the problem reappears.
 
Apr 20, 2011
21
0
#7
I tried the whole day ...

Try this:

ctrl.btm containing:
Code:
echo test
pause
echo test 2
now:

Code:
bdebugger ctrl.btm
and single-step until you see the press any key message. Now stop debugging within the debugger with the stop button and the click into source window and press CTRL-F for find.

I get an character in the source window instead the find dialog and the debugger acts quirky afterwards.
 

rconn

Administrator
Staff member
May 14, 2008
10,638
97
#11
Since it happens when you stop debugging while at a PAUSE statement, I thought it might be a (fixable?) matter of where the next keystroke was expected to go.
No - the input focus is in the scintilla control, which handles ^S and ^F internally. The TCMD batch debugger / ide code never sees those keystrokes.