Debug DLL, 2nd time try request

Y

y1799

Hi,

I think that my question about setting(s) for the project.

I need to debug DLL project.
I used 2 recommendation from VC.Net:
- set external program as a start program of my dll (at properties)
- add second project (exe type, not dll) to the solution and set it as
startup project, adding my dll to references and call function from it


at both cases the breakpoint inside DLL during runtime look like I
compiled DLL at release mode (?).

the only way I can go to the inside debugging procedure - convert dll
to exe type, add sub Main and call procedure from the main.

I also previously posted message "Debug 2 projects " .
what can be wrong with my settings?

Thanks
 
G

Guest

Use two projects in one solution. One for exe and the second as you dll (I
think it is more convinient).
Left-click on your solution tree node once, then switch to debug mode in the
toolbar. Right click on your solution and choose "properties". In the opened
window press on "configuration" in the "configuration properties" section.
Make sure that in the grid on the right side, both projects are set to be
compiled in debug mode.
 
G

Guest

How did you make the reference?
Did you make a reference to the dll project or to the dll itself?
 
Y

y1799

I create another text solution that also contain dll and exe projects
and did the same steps. everything works fine,except I call function
like:

dim n as interer
n = 1 ' breakpoint set here :)
I try to find what wrong with the project settings.
 
G

Guest

Can you make a little zip of both projects?
I will send you my email to yours if (e-mail address removed) is correct.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top