After i sent this out i re-read your statement about the output window. I
kept looking at the build output before but now i looked at the .dlls being
loaded. The temporary internet files said that 'just my code' option was
keeping them from loading. So i turned off debug 'just my code'. I've been
programming in vs 2005 for few whole days... i can debug the framework if i
want to! :)
This seemed to work? I put a question mark because it didn't hit the OnLoad
breakpoint in the master page. I then thought to myself that if do a
"deploy" on the application then it will probably optimize this and will not
treat it as 'my code'[1]( i'm guessing ). I figured something weird was
going on there with those xml files that point to the source code. So i
decided to startup the web development server in the directory that i'm
developing in. It is still working even with 'debug just my code' back on.
I did change the 'Use custom server' to http://localhost{port}. If i change
this back to 'use default web server' it doesn't work anymore. I'm SURE i
set this before and it did not work. At this point i can take it that i'm
going a bit crazy.
So basically right now i have 'debug just my code' on. I have the web
development server starting up on the directory that my web project is
in(file system mode). I have Start Url and have custom server point to
http://localhost:{port}.
So this should be all that i need in order to debug my application through
http://localhost:{port}? There is nothing special i need to do for the debug
symbols to load? How exactly are the debug symbols being loaded by debugger
from temporary internet folder? I guess i should read some more...
P.S. I'm spending tommorrow reading up all the articles on Scott Alen's
blog! So far so good!
[1]
http://blogs.msdn.com/greggm/archive...29/201315.aspx
Cisco
<ci***@noemail.noemail> wrote in message
news:uz**************@TK2MSFTNGP12.phx.gbl...
Yuan,
Thanks for your reply. So you want me to create a winforms app to see if
debugging is ok on my box? Debugging under visual studio 2005 works fine
by default. If create a new web project(file system) and try to debug it
works just fine. This is also true for console and winforms applications.
See what i'm trying to do is so that when i click on start(debug) it does
not start up development server with
http://localhost:{port}/webprojectname but rather http://localhost:{port}.
I managed to do this by starting the development server myself through a
batch file. I setup the Start Url of the web project to
http://localhost:{port}. When i start the debug session it seems to hit
http://localhost:{port} just fine but a breakpoint will tell me that
sybmols have no been loaded yet. If i switch back to "Use Current Page",
under project properties, it will hit those breakpoints fine.
I have insalled the "web deployment project" plugin and have used it to
deploy to a different directory. This directory has the /bin folder and
the .pdb file(i'm merging the assemblies). I then tried to use this
deployment directory as the input to the web development server but no
such luck. It does not hit the breakpoints. ( I have also used the
directory that i'm developing under )
webdev.webserver.exe /port:9090 /path:"{path to deployment directory}"
Appreciate any help,
Cisco
""Yuan Ren[MSFT]"" <v-****@microsoft.com> wrote in message
news:Zs*************@TK2MSFTNGXA02.phx.gbl... Hi Cisco,
Welcome to MSDN newsgroup!
Based on my understanding, your problem is that the debug symbols are not
loaded when you debugging. If I have misunderstood something, please let
me
know.
For the current issue, I want to confirm something first. Could your
breakpoint works well when debugging? If possible, can you create the
winform project for testing to confirm whether the system symbols are
loaded?
Additionally, could you provide the output information when you are
debugging your web project? It's important for us to get some details
about
your issue.
Thanks, I'm looking forward your reply!
Yuan Ren [MSFT]
Microsoft Online Support