Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > windbg behavior on assert

Reply
Thread Tools Display Modes

windbg behavior on assert

 
 
Peter
Guest
Posts: n/a

 
      03-30-2006
Windbg stops on assert. It prints:
*** Assertion failed: bVariable == TRUE
*** Source File: .\Filename.c, line 950

Break repeatedly, break Once, Ignore, terminate Process, or terminate Thread


I read in debugger doc about command ahi:

ahi
Causes the debugger to ignore an assertion failure at the specified address
Address
Specifies the address of the instruction whose assertion-handling status is
being set. If this is omitted, the current program counter is used.

But when I type "ahi" and press enter,
debugger does not restore run, but it again prints the same.

When I try menu View -> Registers (to see eip),
nothing displays in window neither register names.

When I try menu View->Disasembly, it appears:
"User interface suspended, use .suspend_ui 0 to re-enable".

What magic to do with it - to resume execution ?

Peter


 
Reply With Quote
 
 
 
 
Fisyuk Victor
Guest
Posts: n/a

 
      03-31-2006
To ignore this assertion type "i" and press enter.

Best regards,
Fisyuk Victor
EMail/MSN:
Web: http://rockdbg.siteburg.com

"Peter" <> wrote in message
news:3D935504-6625-476F-866A-...
> Windbg stops on assert. It prints:
> *** Assertion failed: bVariable == TRUE
> *** Source File: .\Filename.c, line 950
>
> Break repeatedly, break Once, Ignore, terminate Process, or terminate
> Thread
>
>
> I read in debugger doc about command ahi:
>
> ahi
> Causes the debugger to ignore an assertion failure at the specified
> address
> Address
> Specifies the address of the instruction whose assertion-handling status
> is
> being set. If this is omitted, the current program counter is used.
>
> But when I type "ahi" and press enter,
> debugger does not restore run, but it again prints the same.
>
> When I try menu View -> Registers (to see eip),
> nothing displays in window neither register names.
>
> When I try menu View->Disasembly, it appears:
> "User interface suspended, use .suspend_ui 0 to re-enable".
>
> What magic to do with it - to resume execution ?
>
> Peter
>
>



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ignoring ASSERT w/ Chk Build + WinDBG Jeremy Boschen Windows Vista Drivers 4 01-03-2006 10:22 PM
Re: Assert being the highest-level driver Peter Wieland [MSFT] Windows Vista Drivers 3 08-12-2005 06:24 PM
assert in usbport Tom Picard Windows Vista Drivers 3 08-12-2005 04:56 PM
Assert connected to zwwritefile Bob_from_Corinth Windows Vista Drivers 5 08-08-2004 07:51 AM
What does it mean this assert ? Peter Windows Vista Drivers 2 06-13-2004 07:32 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59