Search code examples
debuggingdllvb6

Debugging DLL from the EXE project?


I have a VB6 application that runs dependent on a DLL, to which both of them I hold the source code and are in separate vbp projects.

I know how to use breakpoint and run VB6 debug mode in the application project, but I want to know if it is possible to run debug mode for the DLL?

I saw this article http://www.ni.com/tutorial/4071/en/. Does it mean I first have to compile the application, then in the DLL project I start debug mode by invoking the compiled application and hook it to use the DLL from the project? what does the "TestStand" in the article mean?


Solution

  • Open one of those 2 projects and add another (File - Add Project...) and then set your application project as start up (project explorer, right click on application project).

    enter image description here