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. debugging the break point? :) :)

debugging the break point? :) :)

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingquestion
4 Posts 4 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.
  • F Offline
    F Offline
    FASTian
    wrote on last edited by
    #1

    is there any way i can trace the function where the breakpoint function was reached. I've tried the "crash finder" application but that couldnt trace the function either. I've put exception handlers all over but the application crashes at some point. The application always crashes at the same address and i cant really trace the condition where this is happening. I am writing all my the function names in a file to trace the condition but the application breaks off at a different point with the same address location. Any ideas people?

    T 2 D 3 Replies Last reply
    0
    • F FASTian

      is there any way i can trace the function where the breakpoint function was reached. I've tried the "crash finder" application but that couldnt trace the function either. I've put exception handlers all over but the application crashes at some point. The application always crashes at the same address and i cant really trace the condition where this is happening. I am writing all my the function names in a file to trace the condition but the application breaks off at a different point with the same address location. Any ideas people?

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

      have a look at the functions call stack, the processor registers and so useful debuging tools. otherwise, if you want some help, post a piece of the crashing code...


      TOXCCT >>> GEII power

      1 Reply Last reply
      0
      • F FASTian

        is there any way i can trace the function where the breakpoint function was reached. I've tried the "crash finder" application but that couldnt trace the function either. I've put exception handlers all over but the application crashes at some point. The application always crashes at the same address and i cant really trace the condition where this is happening. I am writing all my the function names in a file to trace the condition but the application breaks off at a different point with the same address location. Any ideas people?

        2 Offline
        2 Offline
        224917
        wrote on last edited by
        #3

        Try creating a mapfile for ur project to get the line number where the app crashes. Check this article. http://www.codeproject.com/debug/mapfile.asp
        There is no spoon. mail

        1 Reply Last reply
        0
        • F FASTian

          is there any way i can trace the function where the breakpoint function was reached. I've tried the "crash finder" application but that couldnt trace the function either. I've put exception handlers all over but the application crashes at some point. The application always crashes at the same address and i cant really trace the condition where this is happening. I am writing all my the function names in a file to trace the condition but the application breaks off at a different point with the same address location. Any ideas people?

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Anonymous wrote: The application always crashes at the same address and i cant really trace the condition where this is happening. Have a look at the project's .map file (you might have to add /map to the linker settings). For example, if you know the program is crashing at address 0x17d28a03, you would look in the .map file for the closest address that is less than this value.


          "Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow

          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