📄 changes
字号:
This file describes things in the current release that are not in thepaper presented at the Tcl/Tk Conference (see README).User Interface Changes ----------------------------------------------------- Added p command which prints either scalar or array. Note that thisis a user-level procedure so it requires the default handling of unknown.-- The N command is useful for stepping over Tcl_Eval calls that are notinside a procedure or command. For instance, if you are about toexecuted a "source" command, n will stop at the first command insidethe sourced file while N will stop after the source is complete.-- Pressing return without entering an explicit command will cause thelast previous action command to be executed. For example, if you havejust executed a step command, pressing return will execute anotherstep command. Actions commands are s, n, N, r, and c. If you havenot entered an action command, it defaults to n.Tcl-Application Interface Changes ------------------------------------------ The function Dbg_Init makes the debugger trivial to drop intoapplications. It works like other App_Init functions, taking aninterp argument and returning TCL_OK. Dbg_Init creates a commandcalled "debug" in the current interpreter.This will add a "debug" command to your interpreter. (Inside yourapplication, "debug 1" will start the interpreter. "debug 0" willstop it.You can also use give the command a different name (see the INSTALLfile for more info).-- The function Dbg_Interactor was modified to take an extra argumentof ClientData. This argument is passed back to the interactor when itis called. The return value of Dbg_Interactor is a structurecontaining the original arguments.-- The function Dbg_Output was created to send all debugger outputsomewhere other than the standard output. For example, if you want torun it inside of Tk and send it to a window, you can do this.Dbg_Output takes an interp, a Dbg_OutputProc, and a ClientData asarguments. Dbg_OutputProc takes an interp, the string to be output asarguments, and ClientData. The return value of Dbg_Output is astructure containing the original arguments.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -