Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 623167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:03:48+00:00 2026-05-13T19:03:48+00:00

There are two scenarios that I’m interested to improve in my assert. 1) a

  • 0

There are two scenarios that I’m interested to improve in my assert.
1) a debug build app is started regularly, if there is an assertion I’m getting “Debug assertion failed” dialog box with “Abort”, “Retry”, “Ignore”. Abort and Ignore answers are working fine. The problem with Retry. If I hit retry I’m getting that useless “Application error, breakpoint has been reached” “OK” – to terminate, “Cancel” – to debug the program.

Is it possible to avoid this dialog and go directly to the “Just in time debugger” dialog that shows choices for debuggers? I understand that the “Application error” dialog box is triggered by __debugbreak() or _asm int 3 on intel, so after “Retry” was pressed I need to attach debugger without using _asm int 3. Is this possible? I couldn’t find any WinAPI that does this

2) A debug build app is started in VS debugger (using F5). If an assert is triggered I don’t want to see any dialog, I want it to stop right on the assert. I managed to install crt debug runtime hooks and if IsDebuggerPresent then I __debugbreak() and it stops on the line of the assert. It works perfectly when I’m debugging windows mobile builds, but I’m still getting a dialog box for Win32 builds: “APP.exe has triggered a breakpoint”, “Break”, “Continue”, and greyed out “Ignore”. Any way to completely disable it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:03:48+00:00Added an answer on May 13, 2026 at 7:03 pm

    Take a look at the registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug.

    I think that if you set Auto to 1, that the debugger is automatically started.

    And of course changing the assert implementation can also help you (take a look at the SuperAssert of John Robbins from his famous Debugging Windows Applications book).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It seems to me that there are two scenarios in which to use JOINs:
I'm having some problems with encapsulation in C#. There are two specific scenarios that
I have two distinct scenarios. One, where there is a many to many case,
I have read a document that they say: In java there two types of
There are two ways that I know that you can fetch results in Rails
There are two testing scenarios I am unclear on. Both appear at first sight
I have two scenarios. Suppose I have 3 shared libraries that export C++ symbols,
I'm building a Flex application that will need run under two different deployment scenarios:
There are two scenarios I need to clarify: An executable compiled with .NET 3.5
There are two scenarios for an ASP.net webforms page which I would like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.