473,385 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Debug DLL, 2nd time try request

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

Nov 21 '05 #1
7 1197
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.

"y1***@yahoo.com" wrote:
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

Nov 21 '05 #2
Both projects in Debug mode...

Nov 21 '05 #3
How did you make the reference?
Did you make a reference to the dll project or to the dll itself?

"y1***@yahoo.com" wrote:
Both projects in Debug mode...

Nov 21 '05 #4
Add Rererences -> Projects

I will be only my Dll project at the list

Nov 21 '05 #5
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.

Nov 21 '05 #6
Can you make a little zip of both projects?
I will send you my email to yours if y1***@yahoo.com is correct.

"y1***@yahoo.com" wrote:
Add Rererences -> Projects

I will be only my Dll project at the list

Nov 21 '05 #7
yes, you can send you email to y1***@yahoo.com

Nov 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Vince C. | last post by:
Hi. This is a feature that is really going on my nerves as I've been writing SOAP Web services using ASP and SOAP toolkit 3.0. My web services ASP scripts send XML data to the client...
3
by: Simon Burton | last post by:
Hi, I'm after a no-op command, so that i can redirect logging commands in performance critical code. Something like this: def log(*args): print args def null_log(*args): pass if not...
7
by: Brad | last post by:
When debugging my current web project, in VS2003, I found I had lost the ability to drill down on watch objects in the Watch Window; I could only view the single value specific watch objects. ...
8
by: Lars-Erik Aabech | last post by:
Hi! I've got an asp.net page that works for all users except one and that one user only gets the error with a certain parameter set to a certain value. (Same value as the others, but for this...
2
by: wcchan | last post by:
Hi, We set debug="false" at web.config of a WebService for performance sake. We found that after set, the web service request will sometimes got a timeout exception. Would anyone tell me how long...
5
by: Carl Gilbert | last post by:
Hi I have implemented the ASP.NET Club Site Starter Kit on my 1&1 web space. I have recently been getting some errors where the page doesn't load and just comes up blank. I have put a handler...
3
by: Arman Sahakyan | last post by:
Hi, I'm an MFC programmer and know little about .NET programming. Now, for some reasons, I'm developing an ASP .NET application... What I need to know is how to output into VS's Output Window...
7
by: =?Utf-8?B?TWlrZSBMb2dhbg==?= | last post by:
My environment. .Net 2.0 VS2k5 SP1, IE6 (6.0.2900.2180) I have a web content page. The page will post back twice if I am running in debug mode. However if I run through the breakpoints fast...
11
by: =?Utf-8?B?QXNhZg==?= | last post by:
Hello, I have just installed VISTA Enterprise and VS.NET 2008. When pressing F5 to debug my test ASP.NET website, IE 7 display the message "Internet Explorer cannot display the webpage". The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.