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. Debug error: directly get into the disassembly window.

Debug error: directly get into the disassembly window.

Scheduled Pinned Locked Moved C / C++ / MFC
questiondebugginghelpworkspace
5 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.
  • E Offline
    E Offline
    ewighell
    wrote on last edited by
    #1

    I am debugging a dll, and I can get to the break point I set. but when I hit the "step foward" or "step to" button, the MSVC get into the disassembly window immediately. The code around the break point is correct, for expected result can be obtained when it is run not in debugging environment. to my surprise, I can debug some portion of the program correctly. I don't have any clue about what is going on. could anyone tell me the possible causes?

    Thank you very much!!!

    R T 2 Replies Last reply
    0
    • E ewighell

      I am debugging a dll, and I can get to the break point I set. but when I hit the "step foward" or "step to" button, the MSVC get into the disassembly window immediately. The code around the break point is correct, for expected result can be obtained when it is run not in debugging environment. to my surprise, I can debug some portion of the program correctly. I don't have any clue about what is going on. could anyone tell me the possible causes?

      Thank you very much!!!

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

      is the DLL compiled in debug mode ? also, is the code outside the DLL around your breakpoint compiled in debug mode ? also (2), do you have the sources of what the debugger steps into ?


      TOXCCT >>> GEII power

      [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

      E 1 Reply Last reply
      0
      • E ewighell

        I am debugging a dll, and I can get to the break point I set. but when I hit the "step foward" or "step to" button, the MSVC get into the disassembly window immediately. The code around the break point is correct, for expected result can be obtained when it is run not in debugging environment. to my surprise, I can debug some portion of the program correctly. I don't have any clue about what is going on. could anyone tell me the possible causes?

        Thank you very much!!!

        R Offline
        R Offline
        Rinu_Raj
        wrote on last edited by
        #3

        Could you pls specify the code where such a error occuring . Also ensure that proper debug information is there for that DLL RinuRaj

        E 1 Reply Last reply
        0
        • T toxcct

          is the DLL compiled in debug mode ? also, is the code outside the DLL around your breakpoint compiled in debug mode ? also (2), do you have the sources of what the debugger steps into ?


          TOXCCT >>> GEII power

          [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

          E Offline
          E Offline
          ewighell
          wrote on last edited by
          #4

          thank you very much. (1) the DLL definitely is copiled in the debug mode (2) in fact, I am doing secondary development on Autodesk Inventor(a CAD software), so the code outside the dll is not compiled in debug mode. but this can not be the reason, for I have programmed for more than a month and every thing has been good. this problem occurs only today. (3)sorry, I failed to understand your question (2) clearly.

          1 Reply Last reply
          0
          • R Rinu_Raj

            Could you pls specify the code where such a error occuring . Also ensure that proper debug information is there for that DLL RinuRaj

            E Offline
            E Offline
            ewighell
            wrote on last edited by
            #5

            what is "proper debug infomation for the dll" ?

            Thank you very much!!!

            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