From 65064321c37799ab6caa2e7d4cab0a9798b714cd Mon Sep 17 00:00:00 2001 From: MikeBeaton Date: Thu, 2 Dec 2021 19:27:48 +0000 Subject: [PATCH] Debug: Update VMware hideBreakpoints info (Apparently changed requirements here since VMware 12 &/or Big Sur: https://communities.vmware.com/t5/VMware-Fusion-Discussions/GDB-Stub-breakpoints-not-triggering-on-MacOS-guest/m-p/2850864 ) --- Debug/README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Debug/README.md b/Debug/README.md index 4354839a..0717d2d0 100644 --- a/Debug/README.md +++ b/Debug/README.md @@ -54,13 +54,22 @@ Note, that it does not seem to work on VMware Fusion 11 and results in freezes: monitor.debugOnStartGuest32 = "TRUE" ``` -To force hardware breakpoints (instead of software INT 3 breakpoints) add the following line: +To force hardware breakpoints use the following line: ``` debugStub.hideBreakpoints = "TRUE" ``` -To stall during POST for 3 seconds add the following line. Pressing any key will boot into firmware -settings: +Alternatively to force software INT 3 breakpoints use the following line: +``` +debugStub.hideBreakpoints = "FALSE" +``` + +Depending on the version of VMware Fusion and the host macOS version, only one or other of the +above may work to successfully single step and hit breakpoints, so you may need to try both. + +When setting up a virtual machine for debugging, it is useful to be able to enter UEFI firmware +settings easily. To stall during POST for 3 seconds add the following line. Pressing any key +during this pause will boot into firmware settings: ``` bios.bootDelay = "3000" ```