WinDBG does not halt execution on ASSERT()

Sysprogs forums Forums VisualDDK/VirtualKD discussion WinDBG does not halt execution on ASSERT()

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #406
    virtuald
    Participant

    I’ve been really happy with VirtualKD so far, it’s quite excellent!

    However, when using VirtualKD with a Windows 7 target, ASSERT(0) does not halt execution in WinDBG. A message is displayed in WinDBG saying that an assert happened, but execution does not stop. Running the ‘sx’ command shows that the debugger expects to break on an assert.

    Host machine: Windows 7 x64, Virtualbox 4.1.12, VirtualKD 2.6
    The assert is ignored on Windows 7 RTM in 32 and 64 bit targets. Windows XP SP3 targets halt execution as expected.

    #2038
    support
    Keymaster

    That’s the default behavior in Windows Vista and Win7.
    You can use VisualDDK to override it.

    #2039
    virtuald
    Participant

    After restoring to a snapshot of a VirtualBox Win7-x86 machine without VirtualKD, connecting with a serial kernel debugger to com1 on the target — assert works as expected, and it asks whether to Break/Ignore/etc. This is without Service Pack 1, so perhaps it is only the default behavior on SP1?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.