From: STAR::EVERHART "Glenn C. Everhart 603 881 1497" 17-APR-1996 17:04:45.46 To: NORLMN::EVERHART,SMTP%"everhart@gce.com" CC: Subj: hll debugger From: STAR::GWANG "GRACE WANG DTN 381-2467 ZK3-4/W23" 16-JAN-1996 14:50:31.56 To: EVERHART CC: Subj: FYI: you may like to try this (HLL) SOMEDAY! Subj: HLL Debugger Cheat Sheet Quick and Dirty HLL Debugger Cheat Sheet Image preparation: 1) Compile or assemble /DEBUG /NOOPT 2) No need to link /DEBUG Target CONSOLE setup: 1) If a 3000 system, SET MOP OFF, else HALT button severs host/target connection 2) SET BOOT_OSFLAGS 0,8006 - we want to take the initial breakpoints 3) SET BOOTDEF_DEV , - need the 2nd device to be an Ethernet device Target SYSTEM setup: 1) Create SYS$SYSTEM:DBGTK$CONFIG.SYS - first line can be password ( but leave it empty) 2) In SYSGEN, SCSNODE (and SYSSYSTEMID?) must be set properly 3) In SYSGEN, set KSTACKPAGES to 2 4) In SYSGEN, set DBGTK_SCRATCH to 10 5) Reboot Host SYSTEM setup: 0) Use @SETUP V71 or whatever to define DBGHK$IMAGE_PATH so that the system image for base system as well as what you're debugging both appear. All files (.exe, .dsf, .stb) need to be there. 1) DEFINE/JOB DBG$DECW$DISPLAY " " - Don't use DECWindows debugger, it's junk 2) DBGHK$IMAGE_PATH should point to .DSF files for system images, this is set up by USE_BASE_LEVEL.COM 3) DEBUG/KEEP starts the remote HLL debugger Procedure: 1) Boot target 2) At initial breakpoint, just ;P 3) On host, DBG> CONNECT %NODE when the target says it's OK to 4) Wait for the connect message on the target 3) At next breakpoint on target, hit ;R to transfer control to remote HLL debugger 4) SET BREAK/EXCEPTION on host 5) SET IMAGE - i.e. SYS$PKCDRIVER on host 6) SET MODULE/ALL on host 7) GO on host 8) From hard XDELTA breakpoints use ;R on target to transfer to HLL debugger 9) Use DBG> ^C to stop target