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 / C++ / MFC
  4. How to Debug?

How to Debug?

Scheduled Pinned Locked Moved C / C++ / MFC
c++asp-netdebuggingarchitecturetutorial
3 Posts 3 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.
  • D Offline
    D Offline
    Deepak Samuel
    wrote on last edited by
    #1

    Hi , I use MVC++ editor for my vc++ program. When I try to debug it, it shows the point where an exception occured in the assembly language (Disassmebly). I dont know how to convert and find where it happened in the actual code. what do I do to find where the exception occured in my actual code? Thanks, Deepak Samuel.

    A T 2 Replies Last reply
    0
    • D Deepak Samuel

      Hi , I use MVC++ editor for my vc++ program. When I try to debug it, it shows the point where an exception occured in the assembly language (Disassmebly). I dont know how to convert and find where it happened in the actual code. what do I do to find where the exception occured in my actual code? Thanks, Deepak Samuel.

      A Offline
      A Offline
      Arsalan Malik
      wrote on last edited by
      #2

      Use "Call Stack" to view history of function calls leading to exception.;) ARSALAN MALIK

      1 Reply Last reply
      0
      • D Deepak Samuel

        Hi , I use MVC++ editor for my vc++ program. When I try to debug it, it shows the point where an exception occured in the assembly language (Disassmebly). I dont know how to convert and find where it happened in the actual code. what do I do to find where the exception occured in my actual code? Thanks, Deepak Samuel.

        T Offline
        T Offline
        toxcct
        wrote on last edited by
        #3

        you cannot debug a program compiled in "Release Mode". if you have the source, use the call stack (as said previously) or place some breakpoints where you want to stop the execution, but be SURE you are compiling in "DEBUG MODE". you could also click on the rebuild all menu item ; sometimes, it is useful 'cause VC++ fails in its links. Otherwise, two choices for you : first of them, you learn pentium assembly :) second one, you let the program with its bugs and throw it to the trash...


        TOXCCT >>> GEII power

        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