Search:
Namespaces
Discussions
.NET v1.1
Feedback
Debugging DLLs live
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngdebug' list
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Christopher Miller
Back in the days of building VB 6.0 DLLs, you could run your DLL
project, and from another app or IDE instance, set a reference to this
interpreted-environment DLL for live testing and stepping through the
code. I'm apparently missing something little that's preventing me
from doing this. I've got a class project, and I've got its Debugging
property set to Wait to Attach to an External Process (I've tried others
too), but regardless of what I try, I expected to see this appear in the
"Projects" tab of the Add Reference window.
I've also tried attaching to the devenv process of the IDE with the DLL
running. No luck there, at least with what I was doing.
Can someone point me in the right direction?
Reply to this message...
Mitch Denny (VIP)
Back in the days of building VB 6.0 DLLs, you could run your DLL
project, and from another app or IDE instance, set a reference to this
interpreted-environment DLL for live testing and stepping through the
code. I'm apparently missing something little that's preventing me
from doing this. I've got a class project, and I've got its Debugging
property set to Wait to Attach to an External Process (I've tried others
too), but regardless of what I try, I expected to see this appear in the
"Projects" tab of the Add Reference window.
I've also tried attaching to the devenv process of the IDE with the DLL
running. No luck there, at least with what I was doing.
Can someone point me in the right direction?
Reply to this message...
Christopher Miller
Ahh, you know, I decided to give it a try again, and instead, I loaded
both the DLL and Web App into the same solution (multiple projects).
Then, I was able to set a reference to a project and I can step into
each for debugging. That's the answer!
Thanks Mitch.
-----Original Message-----
From: Mitch Denny
Sent: Tue 3/5/2002 4:12 AM
To: aspngdebug
Cc:
Subject: [aspngdebug] RE: Debugging DLLs live
Christopher,
Are you compiling using the "Debug" configuration, look at
the top-middle of the VS.NET IDE. Also, you need to set a
break-point in your code so that the IDE knows where to
step in and start debugging, unless of course it throws
and exception in which case the IDE will step in (from
memory - my code never throws exceptions - I wish!).
What type of application in referencing the assembly
that you want to debug? ASP.NET? Windows Service? Serviced
Component? May help further diagnosis to know this.
You didn't explicitly say it, so I'll also ask, are you
going to the Tools | Debug Processes menu (CTRL-ALT-P) and
actually attaching to the process you want debug?
----------------------------------------
- Mitch Denny
-
Click here to reveal e-mail address
- +61 (414) 610-141
-
-----Original Message-----
From: Christopher Miller [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, 5 March 2002 02:13
To: aspngdebug
Subject: [aspngdebug] Debugging DLLs live
-- Moved from [aspngvs] to [aspngdebug] by Marcie Jones
<
Click here to reveal e-mail address
> --
This is a multi-part message in MIME format.
------_=_NextPart_001_01C1C38F.05072220
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Back in the days of building VB 6.0 DLLs, you could run your DLL
project, and from another app or IDE instance, set a reference
to this
interpreted-environment DLL for live testing and stepping
through the
code. I'm apparently missing something little that's
preventing me
from doing this. I've got a class project, and I've got its
Debugging
property set to Wait to Attach to an External Process (I've
tried others
too), but regardless of what I try, I expected to see this
appear in the
"Projects" tab of the Add Reference window.=20
I've also tried attaching to the devenv process of the IDE with
the DLL
running. No luck there, at least with what I was doing.
Can someone point me in the right direction? =20
------_=_NextPart_001_01C1C38F.05072220
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base64
eJ8+IiYPAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5N
eJ8+aWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAFAAAAERlYnVnZ2luZyBETExz
IGxp
dmUAywYBBYADAA4AAADSBwMABAAKAAwAJQABABwBASCAAwAOAAAA0gcDAAQACgAMACUAAQAc
AQEJ
gAEAIQAAAEYzMTJBQjA2NTA1MDlBNDQ4MUNCMTNGMzRBODFGMzUzAPsGAQOQBgCoCwAANgAA
AAMA
NgAAAAAAQAA5ACAiBwWPw8EBHgA9AAEAAAABAAAAAAAAAAIBRwABAAAAMgAAAGM9dXM7YT0g
O3A9
Q3Jvc3NvZnQ7bD1FWENIQU5HRTEtMDIwMzA0MTUxMjM3W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ists.com/asplists/aspngdebug.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
| [aspngdebug] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngdebug.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com