Re: Debugging a DLL from a web service
- From: "Robert May" <rakkersendNoJunk91@xxxxxxxxxxx>
- Date: Thu, 18 Jan 2007 12:29:05 -0700
Debugging in asp.net can be tricky.
I'd recommend instrumenting your code with log4net
(http://logging.apache.org/). You can set the logging to debug mode, make
the web call, and provided you've instrumented your code well, see exactly
what is happening in the dll.
The obj folder is created as a result of the compiling and linking process.
The bin folder is the final output, so you will likely always have both.
Make sure that the referenced assembly was built in debug mode, not just the
project that's referencing it, and make sure that the .pdb files are also in
the bin directory with the dll.
Robert
"cashdeskmac" <cashdeskmac@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0482C85B-F09F-4530-AB95-D396E1AAF8DB@xxxxxxxxxxxxxxxx
Thanks,
I did add a reference to the project (via the Projects tab in the Add
Reference dialog), I didn't browse to the DLL.
However, I have now noticed that the DLL itself now exists in both an
obj/debug folder AND the bin folder. The output for the project is set to
the bin folder but it keeps creating it in the debug folder, too. Any
idea
what could be causing this?
Thanks again,
Mac
"Ciaran O''Donnell" wrote:
Add a reference to the project, dont browse to the DLL. ensure the dll is
build in debug mode.
--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
"cashdeskmac" wrote:
Hi,
I have an internal web service which calls a DLL which calls an
external web
service, and need to step into the code up to the point that the
external web
service is called. I have both the internal service and class library
loaded
into Visual Studio (2003), have all references set up, and all builds
fine.
When I run the web service and click a button on a test page, it steps
into
the web service code, but when it reaches the call to the DLL it
doesn't step
into it, it just executes the method call.
The reference to the DLL is the one in the class library project in the
same
solution, so I can't understand why it won't step into it. I even
tried
enabling ASP.NET debugging in the class library project properties and
attaching the aspnet_wp when it entered break mode but that had no
effect.
Some help would be really appreciated.
.
- Follow-Ups:
- Re: Debugging a DLL from a web service
- From: cashdeskmac
- Re: Debugging a DLL from a web service
- Prev by Date: Re: View Microsoft Access Report
- Next by Date: Re: Add blank item in databound ComboBox
- Previous by thread: Re: View Microsoft Access Report
- Next by thread: Re: Debugging a DLL from a web service
- Index(es):