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
  1. Home
  2. General Programming
  3. Visual Studio
  4. Debug failure before program running

Debug failure before program running

Scheduled Pinned Locked Moved Visual Studio
visual-studiohelpcsharpdebuggingquestion
2 Posts 2 Posters 0 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.
  • S Offline
    S Offline
    sduhd
    wrote on last edited by
    #1

    When I debug my C# program in vs2005, I got the problem of first-chance exception:0xC0000005: Access Violation. The problem occured when vs loaded the dlls. If I run the exe outside the IDE, it's OK. I doubt that an anti-virus software I installed yesterday caused the problem. Before the antivirus installed, everything was OK. Can I config VS not load the anti-virus.dll? Please help.

    J 1 Reply Last reply
    0
    • S sduhd

      When I debug my C# program in vs2005, I got the problem of first-chance exception:0xC0000005: Access Violation. The problem occured when vs loaded the dlls. If I run the exe outside the IDE, it's OK. I doubt that an anti-virus software I installed yesterday caused the problem. Before the antivirus installed, everything was OK. Can I config VS not load the anti-virus.dll? Please help.

      J Offline
      J Offline
      Jonathan Darka
      wrote on last edited by
      #2

      Why not track down the crash, your application may already be running at that point even though DLL's are still being loaded. You can get Visual Studio to stop on an Access Violation exception, then you'll see the line of the crash. I think the option is under the "Debug | Exceptions" menu.


      Jonathan Wilkes Darka[Xanya.net]

      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