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. C#
  4. Exception handling scenario

Exception handling scenario

Scheduled Pinned Locked Moved C#
debuggingquestion
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.
  • B Offline
    B Offline
    beatles1692
    wrote on last edited by
    #1

    Hi Here is the scenario of exception handling for my applications: I have a translator that translate exceptions to a meaningful message for user. When an unhandled exception occurs there is an Application ThreadException handler that is supposed to catch and handle the exception(To translate it using the translator and show a message box to user) When I compile my solution and run the exe file everything goes fine but when I'm in debug mode it doesn't work and if there's an unhandled exception the debugger stops and shows me the exception. What should I do to use my Exception handling scenario even while I'm debugging? Thanx

    L 1 Reply Last reply
    0
    • B beatles1692

      Hi Here is the scenario of exception handling for my applications: I have a translator that translate exceptions to a meaningful message for user. When an unhandled exception occurs there is an Application ThreadException handler that is supposed to catch and handle the exception(To translate it using the translator and show a message box to user) When I compile my solution and run the exe file everything goes fine but when I'm in debug mode it doesn't work and if there's an unhandled exception the debugger stops and shows me the exception. What should I do to use my Exception handling scenario even while I'm debugging? Thanx

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Hi, I susggest you have a look at the menu Debug/Exceptions... :)

      Luc Pattyn [Forum Guidelines] [My Articles]


      Happy Holidays!


      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