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. C# Dll Debugging

C# Dll Debugging

Scheduled Pinned Locked Moved C#
csharpvisual-studiohostinghelpquestion
4 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.
  • U Offline
    U Offline
    usermans
    wrote on last edited by
    #1

    I am trying to make an addin for a program using C#, is there anyway to follow the execution of the dll in the hosting program using Visual Studio .NET? Is there anyway I can set breakpoints and watch variables?? Any help is appreciated.

    C 1 Reply Last reply
    0
    • U usermans

      I am trying to make an addin for a program using C#, is there anyway to follow the execution of the dll in the hosting program using Visual Studio .NET? Is there anyway I can set breakpoints and watch variables?? Any help is appreciated.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      If the program is yours, make the dll part of the same solution. If it's not, attach the debugger to the program, and it will stop at breakpoints in your dll.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      U 1 Reply Last reply
      0
      • C Christian Graus

        If the program is yours, make the dll part of the same solution. If it's not, attach the debugger to the program, and it will stop at breakpoints in your dll.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        U Offline
        U Offline
        usermans
        wrote on last edited by
        #3

        Thanks for replying. The program isn't mine, and I just don't know how to attach the debugger to the program.

        C 1 Reply Last reply
        0
        • U usermans

          Thanks for replying. The program isn't mine, and I just don't know how to attach the debugger to the program.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Attach is the third option in the debug menu.

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          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