Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. ASSERT and Windows XP Problem

ASSERT and Windows XP Problem

Scheduled Pinned Locked Moved C / C++ / MFC
debugginghelpvisual-studiotutorialquestion
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Justin Cooke
    wrote on last edited by
    #1

    Does anyone know how to begin the code trace when a debug assertion fails under Windows XP Home? Under Win 98, if I ran my app in Debug build from the red exlamation point and an assertion failed, I got the popup dialog asking me to 'Abort', 'Retry', or 'Ignore.' If I pressed 'Retry', I was taken to the debug view where I could trace my code, watch variables, etc... Now, under Win XP, the same dialog pops up, but if I click 'Retry', another dialog pops up telling me to press 'Cancel' to debug. If I do this, I get another dialog saying press 'OK' to terminate. I have no way of entering the debug view live. Any help would be greatly appreciated as I've searched all over MSDN to no avial. I'm running: VS 6.0 with SP5 Win XP Home Thanks

    B 1 Reply Last reply
    0
    • J Justin Cooke

      Does anyone know how to begin the code trace when a debug assertion fails under Windows XP Home? Under Win 98, if I ran my app in Debug build from the red exlamation point and an assertion failed, I got the popup dialog asking me to 'Abort', 'Retry', or 'Ignore.' If I pressed 'Retry', I was taken to the debug view where I could trace my code, watch variables, etc... Now, under Win XP, the same dialog pops up, but if I click 'Retry', another dialog pops up telling me to press 'Cancel' to debug. If I do this, I get another dialog saying press 'OK' to terminate. I have no way of entering the debug view live. Any help would be greatly appreciated as I've searched all over MSDN to no avial. I'm running: VS 6.0 with SP5 Win XP Home Thanks

      B Offline
      B Offline
      Bugra Barin
      wrote on last edited by
      #2

      The red exclamation point icon "Executes" your app and won't attach the debugger. So clicking Retry on an assertion dialog won't get you into the debugger because it's not attached. I don't understand how you did it in Win 98 before. And I don't think this issue is OS dependent.

      J 1 Reply Last reply
      0
      • B Bugra Barin

        The red exclamation point icon "Executes" your app and won't attach the debugger. So clicking Retry on an assertion dialog won't get you into the debugger because it's not attached. I don't understand how you did it in Win 98 before. And I don't think this issue is OS dependent.

        J Offline
        J Offline
        Justin Cooke
        wrote on last edited by
        #3

        Thanks for the response. I'm not sure why, but "Executing" the app under Win 98 did allow for the "Retry" debugging. When I got a new computer with XP Home installed, I reinstalled VS 6.0 and SP5 just as I had under Win 98 and the only difference I noticed in VS was the inability to get into the debugger from "Execute." Thanks to another response, I now know I can just use the "Go" command instead and that works fine. Thanks again.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups