Re: Setting Breakpoints in referenced code
- From: "Oleg Starodumov" <com-dot-debuginfo-at-oleg>
- Date: Tue, 2 May 2006 11:51:25 -0700
a) I was able to change the dll source from the main application, but the
changes didn't take effect, even after I recompiled the main application. In
the debugger, I could watch the program SKIP OVER the line I added! I take
it that because the dll is referenced in my project that I get the "library"
version, no matter what I do to the source that was added to my project.
When I went to the library solution, the code was changed there, and when I
recompiled the library solution, the main application started working. Am I
interpreting this correctly? I can make changes to the dll code in the main
solution, but they won't take effect until I go to the library solution and
compile it?
Yes, it is correct. After sources of the library have been changed, you should
rebuild the library to put changes into effect.
b) Is there something I can do so that I don't "accidentally" make changes
to library code that I have added to my main application just for debugging?
(Other than just pay attention LOL.)
If you are working with SourceSafe, keep the library sources checked in
(and thus readonly) while debugging the main application.
May be better ways exist, but I don't know.
c) Do you have any idea what Visual SourceSafe is complaining about? I'm
planning on removing the library project from the main app as soon as I'm
finished de-bugging, but what happens in the meantime? Is there really a
problem? Both the library and the main projects are under source control.
Unfortunately, I don't know. I could try if it is VSS 6.0 or older, and if you
would tell the exact message text reported, plus the layout of projects in VSS.
But probably it is better to ask in a SourceSafe-related newsgroup
(e.g. microsoft.public.visual.sourcesafe).
Oleg
.
- References:
- Re: Setting Breakpoints in referenced code
- From: Oleg Starodumov
- Re: Setting Breakpoints in referenced code
- From: BBM
- Re: Setting Breakpoints in referenced code
- Prev by Date: Re: Setting Breakpoints in referenced code
- Next by Date: Visual Studio 2005 Local variables window disappeared
- Previous by thread: Re: Setting Breakpoints in referenced code
- Next by thread: Visual Studio 2005 Local variables window disappeared
- Index(es):
Relevant Pages
|