Note: This section applies only to programs running on OS/2.
You can use the debugger to debug OS/2 REXX DLLs and WorkPlace shell DLLs.
To debug a REXX DLL, type the following from an OS/2 command shell:
idebug cmd.exe /K myrexx.cmd
where myrexx.cmd is the name of your REXX command file. When the debugger stops at the beginning of CMD.EXE, do the following:
To debug a WorkPlace Shell DLL, replace the RUNWORKPLACE line in your config.sys with the following line:
SET RUNWORKPLACE=X:/OS2/CMD.EXE
where X:/OS2/CMD.EXE is the drive letter and path name for the OS/2 CMD.EXE command interpreter. This prevents the Presentation Manager shell from loading automatically on system restart. After rebooting, type the following from an OS/2 command shell:
idebug x:/os2/cmd.exe
When the debugger stops at the beginning of PMSHELL.EXE, follow the same steps as for debugging an OS/2 REXX DLL.