Re: Debug inside a library

From: Rena (Rena_at_mail.hongkong.com)
Date: 10/25/04


Date: Mon, 25 Oct 2004 08:43:00 +0800

Hi Rob,
    Two new project is created, I have already compiled the class library
project in debug mode, and i have another project added a reference to that
library project. (pdb is exist and reside in the class library project's
bin),
but i dont' know why i still can't go into the break point set on the
library project.
any hint?

Thanks.
Rena.

"Rob Teixeira" <RobTeixeira@@msn.com> ¦b¶l¥ó
news:eNffEyguEHA.1712@TK2MSFTNGP14.phx.gbl ¤¤¼¶¼g...
> As long as :
> 1) the dll is compiled in debug mode
> 2) the pdb file for the dll is available
> 3) you have the source code file
> you can debug the dll
>
> All you have to do is create an EXE project to host it. Then in either VS
or
> the .NET debugger, you can pull up the source file and attach the debugger
> to the EXE project. From there on out, it's just like normal debugging.
>
> -Rob Teixeira
>
> "Rena" <Rena@mail.hongkong.com> wrote in message
> news:uXOWUleuEHA.348@tk2msftngp13.phx.gbl...
> > Hi all,
> > I have created a app. project and a library which will be used by
the
> > main project, however i do not know how to get into debug mode inside
the
> > library, although break point is set. is there anywhere to enable the
> debug
> > mode into library class.
> >
> > thanks
> > rena.
> >
> >
>
>



Relevant Pages

  • Re: Debug inside a library
    ... the pdb file for the dll is available ... you have the source code file ... All you have to do is create an EXE project to host it. ... however i do not know how to get into debug mode inside the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Setting objects to Nothing uses less memory!
    ... > in debug mode. ... Are you actually running the unit tests under a debugger? ... but whether it's executing under a debugger or not. ... your code is debug code but running without a debugger attached, ...
    (microsoft.public.dotnet.framework.performance)
  • Re: F5 stopped attaching the debugger automatically
    ... nospam@xxxxxxxxxx (John Dalberg) wrote: ... Suddenly I lost the ability to automatically have the debugger attached ... restore the ability to run in debug mode as I always had been. ...
    (microsoft.public.vstudio.general)
  • Re: Tool for troubleshooting R6025 error in VC++
    ... Since the storage allocation done in release mode is different than that of debug mode, ... memory damage bugs are notoriously difficult to find. ... Hence I don't think it is problem with virtual function call. ... >> The first method should work when running without debugger. ...
    (microsoft.public.vc.mfc)
  • Re: F5 stopped attaching the debugger automatically
    ... nospam@xxxxxxxxxx (John Dalberg) wrote: ... Suddenly I lost the ability to automatically have the debugger attached ... automatically when I run in debug mode. ...
    (microsoft.public.vstudio.general)