View | Other Windows | Command Window

The Command view allows you to interact with the active sessions and remote shells connected with your projects. By default the command will be sent to the debugger for processing.

run command

This command allows you to quickly launch a local application on your Windows PC. e.g.
run calc

exec command

This command runs an application on your Windows PC and displays the output in the Command Window. Typically you use this to execute Windows console commands (such as dir). e.g.
exec dir c:

evaluate command

The Command mode of the Command window is used for executing commands or aliases directly in SourceDebug. Using the "?" prefix you can evaluate expressions directly in the command window. e.g.


Try the following expressions to learn how macros and expressions work:

? 1 + 2
? ActiveWindow.Name

rshell command

Enter remote shell mode and then you can execute remote command. e.g.

> rshell
> pwd
$ pwd
/home/srcdbg
~

rexit command

This command can be used to exit from remote shell. All the following commands will be send to the debugger to execute debug command. e.g.

> rexit
> list
106 test10();
107
108 }
109 extern void main200();
110 void main(){
111 int *a=NULL;
112 int i = 0;
113 struct str_buf sb;
114 main200();
115 tmp.sKey = 0xab;
>

Please Note:

If you do not execute the above command, or the rexit command is executed, by default the command will be sent to the debugger for processing. e.g.

> list
106 test10();
107
108 }
109 extern void main200();
110 void main(){
111 int *a=NULL;
112 int i = 0;
113 struct str_buf sb;
114 main200();
115 tmp.sKey = 0xab;
>