home *** CD-ROM | disk | FTP | other *** search
- List of subjects:
-
- INSTALLATION NOTES:
-
- 1. INSTALLING WITH DOS 5 OR DOS 6
- 2. OVER 16M MEMORY OR 16M MEMORY NOMINAL
- 3. COMPAQ REBOOTS
- 4. LOAD HI AREA IS NOT CLEARED ON WARM BOOT
- 5. COMPAQ ProSignia 486 WITH EISA SCSI DRIVE (VIRTUAL DMA)
- 6. USING SOFT-ICE ON A PENTIUM SYSTEM
-
-
- OPERATING PROBLEMS:
-
- 7. SOURCE OUT OF SYNCH OR NO SOURCE DISPLAY
- 8. NO SOURCE DISPLAY OR CANNOT FIND SOURCE
- 9. CTRL-ALT-DEL DOESN'T WORK
- 10. NETWORK TIMEOUT
- 11. VCPI DOESN'T WORK
- 12. FLOPPY HANGS WHEN SOFT-ICE INSTALLED (GP ERROR IN CACHE)
- 13. PROBLEM WITH JET KEYBOARD CONTROLLER
- 14. OUT OF SYMBOL SPACE
- 15. BPINT 2 BYTES OFF IN CODE
- 16. ALT-SYS-RQ HANGS ON EXIT
- 17. TURBO DEBUGGER IN 43-LINE MODE
- 18. MCV HANGS WITH CV 3.14
- 19. WRONG LINE #'S IN "STACK" COMMAND
- 20. PROTECTED MODE COMPILE OR USING CV 3.11/3.14 W/O MCV
- 21. GP ERROR DISASSEMBLING OR STEPPING THRU CODE
- 22. ACTION NMI DOESN'T TRANSFER TO CV
- 23. BACK TRACE DOESN'T WORK
- 24. KEYBOARD LOCKS AFTER NUM-LOCK OR CAPS-LOCK
- 25. .EXE NOT FOUND
- 26. LONG PATH TO .EXE FILE IS TRUNCATED
- 27. .COM FILE
- 28. PRT-SC NOT WORKING ON OLD-STYLE KEYBOARD
- 29. "INT 10 DOES NOT POINT TO..."
- 30. "ENTER PATH..." FOR BORLAND C++
- 31. SNOW ON SCREEN WHEN USING WINDOWS (REAL MODE)
- 32. VERTICAL LINES ON SCREEN
- 33. TAPE BACKUP DOESN'T WORK WHEN S-ICE INSTALLED
- 34. OLIVETTI LAPTOP KYBD LOCKS UP
- 35. KEYBOARD 1 CHAR OFF
- 36. PROGRAM BLOWS UP WHEN LOADED WITH LDR
- 37. BPAND DOESN'T WORK
- 38. USING SOFT-ICE 2.5x & EARLIER WITH MICROSOFT C/C++ 7.00
- 39. MIXED BC/SI SCREEN OR BPM ON STACK DOESN'T WORK
-
- -------------------------------------------------------------------
- 1. INSTALLING WITH DOS 5 OR DOS 6
- -------------------------------------------------------------------
- S-ICE.EXE must be the EMS memory manager (do not use EMM386).
-
- HIMEM.SYS must be after S-ICE.EXE, not before. When HIMEM.SYS is
- loaded, it displays the message "Installed A20 Handler" followed by
- a number. If the number is not "1" or "2", you must use the switch
- "/m:1" with HIMEM.SYS.
-
- DOS 5.0/6.0 may be loaded high with the "dos = high" command.
- Note that HIMEM.SYS must be installed to use this.
-
- If you wish to load drivers and T&SR's high, you must configure
- S-ICE.EXE for this using EMMSETUP.
-
- If you do not have our utility UMB.SYS, you must use our Load
- High utilities (LD.SYS and LH.EXE). Since the DOS 5.0/6.0 load high
- utility is called by "LH", rename ours to LHIGH.EXE or specify the
- full path to LH.EXE. You cannot use "dos = umb". Your CONFIG.SYS
- file should look something like this:
-
- dos = high
- device = c:\si\ce.exe ;configuration editor
- device = c:\si\s-ice.exe /SYM 500 /EXT 2112 /EMM
- device = c:\dos\himem.sys /m:1
- device = c:\si\ld.sys c:\ansi.sys
- device = c:\si\ld.sys c:\dos\smartdrv.sys 2048
- etc...
-
-
- If you have UMB.SYS, you may install this driver to allow using
- the DOS 5/6 UMB functions and load-high utilities. In this case
- your CONFIG.SYS file would look something like this (note that the
- "dos=high" line has been changed to "dos=high,umb"):
-
- dos = high,umb
- device = c:\si\ce.exe ;configuration editor
- device = c:\si\s-ice.exe /SYM 500 /EXT 2112 /EMM
- device = c:\dos\himem.sys /m:1
- device = c:\si\umb.sys
- devicehigh = c:\ansi.sys
- devicehigh = c:\dos\smartdrv.sys 2048
- etc...
-
- NOTE: The /EXT 2112 switch in the examples above reserves 64K of
- XMS memory for HIMEM.SYS (to load DOS high) and 2048K of XMS memory
- for SMARTDRV.SYS. The amount needed may differ depending on what
- drivers are loaded and how much XMS memory each uses: the value of
- was chosen to fit this example. For example, if you use the DOS 6
- SMARTDRV.EXE, it may use up to 8M of XMS memory for the cache.
-
- DOS 6 NOTE: The disk compression driver DBLSPACE (which is about
- 43K long) cannot be loaded high using Nu-Mega's LD.SYS utility. You
- must use UMB.SYS and the DOS 6.0 "devicehigh" command.
-
- -------------------------------------------------------------------
- 2. OVER 16M MEMORY OR 16M MEMORY NOMINAL
- -------------------------------------------------------------------
- Problem: Over 16M memory, keeps rebooting when trying to install
-
- Symptom: "S-ICE is loaded" message has start address of S-ICE
- larger than end address.
-
- Solution: patch s-ice.exe as follows:
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -s 0 lffff b4 88 cd 15
- (prints 2 addresses in xxxx:yyyy format)
- -e first-address b8 00 3b 90
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- -------------------------------------------------------------------
- 3. COMPAQ REBOOTS
- -------------------------------------------------------------------
- Problem: SL based/non-BIMM Compaq system reboots when s-ice.exe is
- installed.
-
- Solution: change s-ice.exe as follows (NOTE - the syntax "cs+2000"
- means add 2000 hex to the contents of the CS register and key in
- this number):
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -s 0 lffff '03C'
- (prints an address in xxxx:yyyy format)
- -e address ff
- -r (get CS)
- -s cs+2000:0 lffff '03C'
- (prints an address in xxxx:yyyy format)
- -e address ff
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- Also, if the keyword COMPAQ is in the S-ICE.DAT file, comment it
- out with a semicolon.
-
- NOTE: This problem has also occurred on other brands of computer
- which used a Compaq BIOS to control an IDE disk drive.
-
- -------------------------------------------------------------------
- 4. LOAD HI AREA IS NOT CLEARED ON WARM BOOT
- -------------------------------------------------------------------
- Problem: On CTRL-ALT-DEL the programs loaded high remain in place
- so no space is available to load high.
-
- Solution: Erase the first 16 bytes of the 1st load high area. The
- program ZERO.SYS should be loaded immediately after Soft-ICE in the
- CONFIG.SYS file to do this automatically upon rebooting.
-
- -------------------------------------------------------------------
- 5. COMPAQ ProSignia 486 WITH EISA SCSI DRIVE (VIRTUAL DMA)
- -------------------------------------------------------------------
- Problem: On bootup, displays a message that the current EMS memory
- manager does not support Virtual DMA.
-
- Solution: Load the driver SCSIC710.SYS in your CONFIG.SYS file.This
- driver is available on our BBS or from Compaq. The load syntax is
- as follows:
-
- DEVICE = [drive:][path]SCSIC710.SYS [/N] [/D]
-
- PARAMETERS:
-
- /N This parameter directs SCSIC710 not to display on-screen
- messages.
-
- /D This parameter forces SCSIC710 to always use double
- buffering.
-
- NOTE: When using this driver in conjunction with Compaq's
- EXTDISK.SYS, EXTDISK must be loaded first.
-
- -------------------------------------------------------------------
- 6. USING SOFT-ICE ON A PENTIUM SYSTEM
- -------------------------------------------------------------------
- The following changes must be made when using Soft-ICE on a
- Pentium system (NOTE - the syntax "cs+2000" means add 2000 Hex to
- the contents of the CS register and key in this number):
-
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -r (get CS)
- -s cs+2000:0 lffff 2e 83 06
- (prints an address in xxxx:yyyy format)
- -e address 64
- -s cs+2000:0 lffff 2e c7 06
- (prints two addresses in xxxx:yyyy format)
- -e first-address 64
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- -------------------------------------------------------------------
- 7. SOURCE OUT OF SYNCH OR NO SOURCE DISPLAY
- -------------------------------------------------------------------
- Problem: Source display is out of sychronism or no source is
- displayed.
- Solution: There are 3 reasons why this happens:
- A header file (.h) has code or data within it. These files
- should contain definitions and declarations only. This is the only
- reason which applies to C language programs.
- A module has no public symbol at the start, or has no public
- symbols. This can occur in Pascal, Assembly and some other
- languages.
- A code module is not class "CODE". The linker will put this
- module after the Data, separated from the rest of the Code. This
- only applies to Assembly language programs.
-
- -------------------------------------------------------------------
- 8. NO SOURCE DISPLAY OR CANNOT FIND SOURCE
- -------------------------------------------------------------------
- Problem: no source display or cannot find source files
-
- Reasons why no source display:
- 1: no debug data in the .EXE file, and no .SYM file
- 2: not enough /SYM space reserved
- 3: no source line # info in debug data
- 4: used LDR program-name.EXE
- Reasons why cannot find source files:
- 1. used path to LDR (becomes default path)
- 2. did not SET SRC=....
- 3. source files not in current directory
-
- -------------------------------------------------------------------
- 9. CTRL-ALT-DEL DOESN'T WORK
- -------------------------------------------------------------------
- Problem: Ctrl-Alt-Del won't reboot on IBM Model 55SX, Dell,
- Northgate, DTK, AST and some other systems.
- Solution: The keyboard controller on these systems does not
- recognize the reboot command (send FE to port 64). To fix this,
- change s-ice.exe as follows:
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -s cs:0 lffff b0 fe e6 64
- (prints 2 addresses in xxxx:yyyy format)
- -a address1
- xxxx:yyyy NOP
- xxxx:yyyy+1 NOP
- xxxx:yyyy+2 NOP
- xxxx:yyyy+3 NOP
- xxxx:yyyy+4 MOV BX,1
- xxxx:yyyy+7 (Enter)
- -a address2
- xxxx:zzzz NOP
- xxxx:zzzz+1 NOP
- xxxx:zzzz+2 NOP
- xxxx:zzzz+3 NOP
- xxxx:zzzz+4 MOV BX,1
- xxxx:zzzz+7 (Enter)
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- -------------------------------------------------------------------
- 10. NETWORK TIMEOUT
- -------------------------------------------------------------------
- Problem: Network disconnects when Soft-ICE is used.
- Solution: When the Soft-ICE screen is popped up, all interrupts
- are disabled. If it is left up too long, the server may disconnect
- your workstation from the network. You should exit Soft-ICE every
- 10 minutes to allow the network to access your computer.
- Alternatively, you may be able to increase the timeout. For
- Netware 3.x, you can control the timeout with SET statements from
- the console command line, or in AUTOEXEC.NCF. See README.SIW for
- more details.
-
- -------------------------------------------------------------------
- 11. VCPI DOESN'T WORK
- -------------------------------------------------------------------
- Problem: VCPI client programs like LOTUS, ORACLE etc. don't
- work.
- Solution: VCPI programs require the /EMM switch with at least
- 256K.
-
- -------------------------------------------------------------------
- 12. FLOPPY HANGS WHEN SOFT-ICE INSTALLED (GP ERROR IN CACHE)
- -------------------------------------------------------------------
- Problem: Floppy hangs when Soft-ICE is installed, on protected
- mode instruction in BIOS (F000:xxxx). Instruction is MOV EAX,CRx.
- Analysis: Some older Phoenix BIOS ROM's handled cache operations
- in protected mode. BIOS ROM must be replaced or you must update to
- Soft-ICE 2.6, which can emulate this instruction without generating
- a protection error. Some Gateway 2000 486's have this older BIOS.
-
- -------------------------------------------------------------------
- 13. PROBLEM WITH JET KEYBOARD CONTROLLER
- -------------------------------------------------------------------
- Problem: On systems with a JET Keyboard Controller chip, the
- keyboard hangs after Soft-ICE is entered and exited.
- Solution: Patch Soft-ICE as follows:
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -s 0 lffff b0 d0 e6 64
- (prints address in xxxx:yyyy format)
- -e yyyy+1 ee (change d0 to ee)
- -e yyyy+3 60 (change 64 to 60)
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- -------------------------------------------------------------------
- 14. OUT OF SYMBOL SPACE
- -------------------------------------------------------------------
- Problem: LDR prints "out of symbol space"
- Solution: This results when the LDR.EXE for version 2.0/2.1 is
- used and version 2.5/2.6 S-ICE.EXE is loaded.
-
- -------------------------------------------------------------------
- 15. BPINT 2 BYTES OFF IN CODE
- -------------------------------------------------------------------
- Problem: BPINT breakpoint displays code 2 bytes ahead of actual
- INT.
- Solution: "BREAK ON" is set in S-ICE.DAT. Delete it.
-
- -------------------------------------------------------------------
- 16. ALT-SYS-RQ HANGS ON EXIT
- -------------------------------------------------------------------
- Problem: On some systems, when Alt-Sys-Rq key is assigned to pop
- up Soft-Ice, the system hangs upon exit.
- Solution: there is a timing problem in some systems because of
- the length of time it takes to complete the analysis of this key,
- and so the system gets stuck in the "Alt On" state. The user either
- must press the Alt key to release this state before exiting, or
- must assign a different key to pop up Soft-ICE.
-
- -------------------------------------------------------------------
- 17. TURBO DEBUGGER IN 43-LINE MODE
- -------------------------------------------------------------------
- Problem: Soft-ICE with Turbo Debugger in 43 line mode beeps and
- dies.
- Solution: patch s-ice.exe as follows:
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -r (get value of CS register)
- -e (cs+1000h):b993 7f
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- -------------------------------------------------------------------
- 18. MCV HANGS WITH CV 3.14
- -------------------------------------------------------------------
- Problem: CodeView 3.14 called through MCV hangs up
- Solution: patch s-ice.exe as follows
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -s cs:0 lffff 42 22
- (prints address in xxxx:yyyy format)
- -e xxxx:yyyy+1 1e (change 22 to 1e)
- -s cs:0 lffff 5a 20
- (prints 2 addresses)
- -e xxxx:wwww+1 1c (change 20 to 1c in both locations)
- -e xxxx:zzzz+1 1c
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- -------------------------------------------------------------------
- 19. WRONG LINE #'S IN "STACK" COMMAND
- -------------------------------------------------------------------
- Problem: Line numbers displayed by STACK command are wrong,
- typically very large (28xxx)
- Solution: patch s-ice.exe as follows:
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -e cs:626f
- (should print "08.")
- 0a (change 08 to 0a)
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- -------------------------------------------------------------------
- 20. PROTECTED MODE COMPILE OR USING CV 3.11/3.14 W/O MCV
- -------------------------------------------------------------------
- Problem: Protected mode compiling with MSC 6.0 or running CV3.11
- or 3.14 without MCV
- Solution: patch s-ice.exe as follows:
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -s cs:0 lffff eb 03 cb
- (prints address in xxxx:yyyy format; offset should be 947E)
- -e xxxx:yyyy fa eb 02
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- -------------------------------------------------------------------
- 21. GP ERROR DISASSEMBLING OR STEPPING THRU CODE
- -------------------------------------------------------------------
- Problem: General Protection Error when disassembling or stepping
- thru code.
- Solution: patch s-ice.exe as follows:
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -s cs:0 lffff 81 7c 01 4e 56 74
- (prints address in xxxx:yyyy format; offset should be E3D8)
- -e xxxx:yyyy 90 90 90 90 90 90 90 90 90 90 90 90 90 (13 NOP's)
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- -------------------------------------------------------------------
- 22. ACTION NMI DOESN'T TRANSFER TO CV
- -------------------------------------------------------------------
- Problem: ACTION NMI doesn't transfer control to CodeView
- Solution: BPX won't work with NMI, must use BPM-X. Also must set
- up CodeView to intercept NMI.
-
- -------------------------------------------------------------------
- 23. BACK TRACE DOESN'T WORK
- -------------------------------------------------------------------
- Problem: Back Trace operation doesn't work
- Solution: If Soft-ICE is being run with Bounds-Checker, BC
- monopolizes the Paging hardware, so the BPR commands in Soft-ICE do
- not work. The "BOUNDS OFF" command does not help. The only solution
- is to run Soft-ICE separately.
-
- -------------------------------------------------------------------
- 24. KEYBOARD LOCKS AFTER NUM-LOCK OR CAPS-LOCK
- -------------------------------------------------------------------
- Problem: Keyboard locks up after keying NUM-LOCK or CAPS-LOCK
- Solution: Some early AMI BIOS ROM's have a timing problem in the
- keyboard controller. Boot the system and read the BIOS serial
- number: if it ends with KA,KB,KC,KD,KE or KF, this is one of the
- bad chips. Even though AMI has not made these chips since 1986,
- some computer manufacturers still have them in stock. The only
- solution is to replace the keyboard controller chip. AMI contact:
- Sam on 404-263-8181.
-
- -------------------------------------------------------------------
- 25. .EXE NOT FOUND
- -------------------------------------------------------------------
- Problem: Message ".EXE not found" displayed when doing LDR
- xxx.SYM on a driver
- Solution: make a .EXE file by copying the .SYM file.
-
- -------------------------------------------------------------------
- 26. LONG PATH TO .EXE FILE IS TRUNCATED
- -------------------------------------------------------------------
- Problem: Using LDR with long path to .EXE file, can't find file,
- prints truncated path.
- Solution: Use the SUBST command to create a virtual drive for a
- long path.
-
- -------------------------------------------------------------------
- 27. .COM FILE
- -------------------------------------------------------------------
- Problem: .COM file will not load properly
- Solution: Delete the .EXE file
-
- -------------------------------------------------------------------
- 28. PRT-SC NOT WORKING ON OLD-STYLE KEYBOARD
- -------------------------------------------------------------------
- Problem: Print Screen doesn't work with old (100) keyboard.
- Solution: change s-ice.exe as follows:
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -s cs:0 lffff 80 fc 47
- (prints address)
- -u address
- kkkk:nnnn CMP AH,47
- .
- .
- .
- kkkk:mmmm TEST BYTE PTR [ZZZZ],20
- .
- .
- .
- kkkk:nnnn CMP AL,2A
- kkkk:pppp JZ XXXX
- kkkk:qqqq CMP BYTE PTR [YYYY],00
- kkkk:rrrr JZ WWWW
- Change last two lines to:
- kkkk:qqqq TEST BYTE PTR [ZZZZ],20
- kkkk:rrrr JNZ WWWW
- Typically this is f6 06 19 0a 20 75 (ZZZZ = 0A19)
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- -------------------------------------------------------------------
- 29. "INT 10 DOES NOT POINT TO..."
- -------------------------------------------------------------------
- Problem: displays message "INT 10 does not point to E000"
- Solution: This message is displayed when the Video card is a
- Hercules graphics adapter or some monochrome cards. Patch Soft-ICE
- as follows:
- ren s-ice.exe s-ice.bin
- debug s-ice.bin
- -r (get CS)
- -s cs+2000:0 lffff b8 00 e0
- (prints address in xxxx:yyyy format)
- -e xxxx:yyyy+2 ff (change e0 to ff)
- -w
- -q
- ren s-ice.bin s-ice.exe
-
- -------------------------------------------------------------------
- 30. "ENTER PATH..." FOR BORLAND C++
- -------------------------------------------------------------------
- Problem: Prints "enter path for" for all source files.
- Solution: Patch LDR.EXE as follows:
- ren ldr.exe ldr.bin
- debug ldr.exe
- -e 8cec
- 02. 03 (change 02 to 03)
- -w
- -q
- ren ldr.bin ldr.exe
-
- -------------------------------------------------------------------
- 31. SNOW ON SCREEN WHEN USING WINDOWS (REAL MODE)
- -------------------------------------------------------------------
- Problem: Snow on screen when using Soft-ICE with Windows 3.0 in
- real mode.
- Solution: Increase the Windows space by decreasing the /TRA and
- /SYM space used by Soft-ICE.
-
- -------------------------------------------------------------------
- 32. VERTICAL LINES ON SCREEN
- -------------------------------------------------------------------
- Problem: Vertical lines on the screen when running graphics
- programs.
-
- Solution: EMM Map is set up for backfilling; run EMMSETUP and
- restore A000 block to VVVV so video memory is not being accessed
- incorrectly.
-
- -------------------------------------------------------------------
- 33. TAPE BACKUP DOESN'T WORK WHEN S-ICE INSTALLED
- -------------------------------------------------------------------
- Problem: The tape backup fails.
- Solution: This is caused by the time that Soft-ICE takes up
- during an interrupt call. It can result from Soft-ICE being loaded
- into 16-bit memory. Try loading Soft-ICE into 32-bit extended
- memory and see if that works. Also, unload Soft-ICE thru "S-ICE /U"
- on the command line. Then do the tape backup and reload Soft-ICE
- thru "S-ICE".
-
- -------------------------------------------------------------------
- 34. OLIVETTI LAPTOP KYBD LOCKS UP
- -------------------------------------------------------------------
- Problem: Keyboard locks up on SCROLL LOCK, NUM LOCK or CAPS LOCK
- on an Olivetti laptop (M316) with Olivetti BIOS.
- Solution: Install Lantistic's KBFLOW program. This is public
- domain software.
-
- -------------------------------------------------------------------
- 35. KEYBOARD 1 CHAR OFF
- -------------------------------------------------------------------
- Problem: Keyboard is 1 character behind the actual keystrokes.
- Solution: This problem occurred when the program LAN MAN
- REDIRECTOR was installed.
-
- -------------------------------------------------------------------
- 36. PROGRAM BLOWS UP WHEN LOADED WITH LDR
- -------------------------------------------------------------------
- Problem: Program loads OK, but blows up when loaded with LDR.
- Solution: LDR changes the stack by 1 word. If the initialization
- code uses absolute offsets to read data from the stack, it will
- read the wrong locations.
-
- -------------------------------------------------------------------
- 37. BPAND DOESN'T WORK
- -------------------------------------------------------------------
- The BPAND command does not work for BPX type breakpoints. This
- includes F9 style point-and-shoot breakpoints. You must use a
- hardware type of breakpoint such as BPIO or BPM X.
-
- Also, the order in which the breakpoints are listed in the
- BPAND command is not significant; they do not have to occur in that
- specific order. The break will occur when all the breakpoints
- listed have occurred at least once.
-
- -------------------------------------------------------------------
- 38. USING SOFT-ICE 2.5x & EARLIER WITH MICROSOFT C/C++ 7.00
- -------------------------------------------------------------------
- Problem: With the C/C++ 7.00 compiler, Microsoft changed the
- format of the CodeView debug data.
- Solution: Soft-ICE cannot read the C/C++ debug data directly
- from the .EXE file. Use the MSYM method as follows:
-
- Link without the "/CO" switch but with the "/MA" and "/LI"
- switches.
- After linking, run our MSYM.EXE utility on the .MAP file to
- create a .SYM file which contains the debug data.
-
- If there is no debug data in the .EXE file, Soft-ICE will look
- for a .SYM file.
-
- You should use MSYM version 2.4 (dated 8/24/92) or later; it can
- be downloaded from this BBS. Earlier versions may work in some
- cases.
- NOTE: Microsoft's MAPSYM utility may create a .SYM file as part
- of the compilation process. This .SYM file does not contain all the
- debug data needed by Soft-ICE. You must use our MSYM.
-
- -------------------------------------------------------------------
- 39. MIXED BC/SI SCREEN OR BPM ON STACK DOESN'T WORK
- -------------------------------------------------------------------
- Problem: Mixed BC/SI screen, or BPM that doesn't catch a change
- on the stack.
- Solution: This can occur when a stack is outside the program
- space and Bounds-Checker is being run with Soft-ICE. If a CALL is
- made, a Page Fault occurs when the return address is written to the
- stack, and it overwrites the return address. Also, if there is a
- breakpoint on a PUSH instruction, before the Bounds-Checker screen
- is completely written, it is overwritten by the Soft-ICE screen.
- One way to identify this type of problem is that it won't happen if
- Soft-ICE is single-stepped.
- The only cure is to change to a stack within the program space.
-
- -------------------------------------------------------------------
-