Click here to Skip to main content
15,909,325 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I have Visual Studio 2005. I have a project includes some dll's and pdb's and I want to debug the project. I go to Tools->Attach to process, and attach it. Debug itself works properly, but exactly after clicking "attach to process" my Solution manager window get closed, and a lot of small windows get opened. How can I fix that?
(When I finish and exit debugging, the previous windows do not come back).

Thanks
Posted
Updated 15-Jun-11 5:23am
v2
Comments
Sergey Alexandrovich Kryukov 15-Jun-11 21:38pm    
Why would you ever need to "fix" it? What's the problem?
--SA

1 solution

VisualStudio has two sets of environments for you, one for writing code and the other for debugging. You should only have to set them up once the way you want them and Studio will store your settings (once each, since they're stored separately). Once you figure that out, its not so bad of a feature, since when you'll end up using different views and windows whenever you're debugging as compared to writing code (for example, no need to see breakpoints, output, or local variable resolution windows when writing code).
 
Share this answer
 
Comments
user_code 15-Jun-11 11:22am    
Thanks for your answer. How do I set debug environment? The problem is that when I stop debugging, my previous settings don't come back. The solution explorer and output windows that were opened before debugging, get closed when entering debug mode, but stay closed when exiting debug.
Albert Holguin 15-Jun-11 11:27am    
You usually just have to set it up once you've started debug (i.e. move windows to where you want them, open/close whatever views you want), but its odd that it doesn't go back once you exit debug mode. The settings are typically stored in a file (I believe its the .suo file, look up to verify). If its acting very weird than you can try to delete the file and start from scratch.
Sergey Alexandrovich Kryukov 15-Jun-11 21:39pm    
Amazing question. My 5 for the answer, especially for the patience.
--SA
Albert Holguin 16-Jun-11 1:59am    
thanks again SA... :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900