Another day and another discovery....
use of the updated PDB files, I thought I had a suitable work-around. then
yesterday on one build iteration this approach also failed. (Possibly just
to resolve the issue. I'm hoping I don't now find that this stops helping
"Alec MacLean" <alec.maclean@NO-SPAM-copeohs.com> wrote in message
news:usRmF258HHA.1204@TK2MSFTNGP03.phx.gbl...
> This morning I followed up on my earlier attempt to "clean" the solution
> files completely by copying all content to a holding area, then recreating
> the entire solution again, only pasting back in the content files (aspx
> pages, images, flash, etc) from the holding area, then adding the required
> references and resources to the individual projects settings and the root
> web.config where required.
>
> This meant the project and solution files were all "as new".
>
> I then recompiled each project (right-click -> Build) to generate the
> DLL's in the root Bin folder.
>
> I then set a breakpoint in one sub-project I'm currently working on. The
> problem still manifested itself, with no code changes occuring.
>
> I then "removed" all except three projects from the solution and tried
> again. This time it worked - all remaining PDB files seem to load.
>
> I then "added existing project" to the solution, adding each of the
> removed projects one at a time, then running (F5) after each re-attached
> project (no code changing or recompilation required). Each time it worked
> as it should, allowing me to access the sub-project's breakpoint. This
> was without any code changes occuring, so the associated PDB file has not
> changed.
>
> I then made a very simple change (add a simple string var declaration) in
> the sub-project in order to force a change to that projects debug symbols
> file, and then re-ran the solution. Again I got the problem of the studio
> going unresponsive and IE just waiting for content to load (which won't
> happen).
>
> I then found that If I removed and re-added just one of the sub-projects
> (didn't matter which one) AFTER the sub-project recompilation, then
> everthing would operate again OK. It is important to re-add the existing
> project - just removing it doesn't seem to force VS to reload the new PDB
> for some reason, whereas the remove + add process does.
>
> If anyone can shed light on this behaviour by VS I'd be mighty grateful!
>
> Thanks
>
> Al
>
>
>
> "Alec MacLean" <alec.maclean@NO-SPAM-copeohs.com> wrote in message
> news:OLfb6hW8HHA.1484@TK2MSFTNGP06.phx.gbl...
>> Hi,
>>
>> I have a Web Application Project solution which has multiple sub-projects
>> that are configured to use nested master pages.
>>
>> I have now got a problem with trying to debug (step-through) the
>> solution.
>>
>> The Visual Studio IDE freezes (non-responsive) and the IE browser just
>> spins waiting for content to load, which no longer happens. I then
>> either have to close VS (and submit an application crash report), or use
>> Task Manager to kill off the aspnet_wp worker process (which I need to
>> repeat at least 4 times before the VS-IDE returns to normal).
>>
>> I know the compiler is OK: If I just build the project being edited and
>> manually browse to the corresponding localhost sub-folder of the site it
>> corresponds with, the changes are being compiled and implemented
>> correctly - but of course I can't debug problems if they occur.
>>
>> I have tested the scenario of creating a fresh solution, then creating a
>> copy of the root project and one sub-project in a temp area and
>> recompiling and setting a breakpoint. This all works as expected,
>> allowing me to get into debug mode and access breakpopints in the
>> sub-project when required. So this should indicate VS itself isn't
>> broken.
>>
>> I therefore wonder if there is some sort of corruption in one or more of
>> the config files that Visual Studio relies on for this particular
>> solution.
>>
>> Can anyone provide guidance that might help me correct this?
>>
>> I could go down the route of re-creating all the sub projects and copying
>> the existing files over from the original project to the new version, but
>> I wondered if there was a quicker technique that would allow me to
>> correct the problem in the original solution directories?
>>
>> For background info, just in case it's pertinent:-
>>
>> The original solution has the root project (where the masterpages are
>> kept), then a total of 17 sub-projects.
>> This solution set up is configured as per the guidelines provided at:
>>
http://blogs.msdn.com/webdevtools/archive/2006/07/01/652986.aspx >>
>>
>> Thanks for any input.
>>
>> Al
>>
>
>