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. Debuging in Visual C++

Debuging in Visual C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpdebuggingquestionworkspace
4 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.
  • T Offline
    T Offline
    tamasan
    wrote on last edited by
    #1

    I created a workspace by visual C++ 6.0. In this workspace, I added many project. One of them was MFC (exe) project and the others were MFC (dll) project. I want to debug a function in MFC (dll) project that was called in MFC (exe) project. I added a breakpoint at that function and stared debuging. But Error message is showed: "One or more breakpoints cannot be set and have been disabled. Execution will stop at the begining of program." How does I fix this problem?

    S 1 Reply Last reply
    0
    • T tamasan

      I created a workspace by visual C++ 6.0. In this workspace, I added many project. One of them was MFC (exe) project and the others were MFC (dll) project. I want to debug a function in MFC (dll) project that was called in MFC (exe) project. I added a breakpoint at that function and stared debuging. But Error message is showed: "One or more breakpoints cannot be set and have been disabled. Execution will stop at the begining of program." How does I fix this problem?

      S Offline
      S Offline
      Sarath C
      wrote on last edited by
      #2

      Make sure that, the "Dll" workspace is the active project! In the Project Settings of the DLL workspace, Give the path of mfc(EXE) as the "Executable for debug session". Hope this will work SaRath.
      "Do Next Thing..." My Blog | Understanding State Pattern in C++

      T 1 Reply Last reply
      0
      • S Sarath C

        Make sure that, the "Dll" workspace is the active project! In the Project Settings of the DLL workspace, Give the path of mfc(EXE) as the "Executable for debug session". Hope this will work SaRath.
        "Do Next Thing..." My Blog | Understanding State Pattern in C++

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

        Thanks for your guide. I have tried but it didn't run to dll code. Is there any configure?

        K 1 Reply Last reply
        0
        • T tamasan

          Thanks for your guide. I have tried but it didn't run to dll code. Is there any configure?

          K Offline
          K Offline
          kakan
          wrote on last edited by
          #4

          Make sure you are using Debug-build(s)

          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