Thoughts from the office by Ed Ball
Thursday, August 18, 2005

It is frequently useful to attach a debugger to a running process. For one thing, our application can take a while to launch under the debugger, so it's nice to attach the debugger after it is fully initialized. Unfortunately, Visual Studio .NET 2003 occasionally crashes when I display the Processes dialog (via Debug > Processes or Tools > Debug Processes). I hate the prospect of losing work, so I've started attaching processes to the debugger with the Task Manager. Simply open the Processes pane of the Task Manager, right-click on the process you want to debug, and choose Debug. Same effect, no crash.

8/18/2005 11:26:54 AM (Pacific Daylight Time, UTC-07:00) | Comments [4] | Tools#
8/18/2005 1:24:54 PM (Pacific Daylight Time, UTC-07:00)
Good call!
Alex
8/19/2005 8:58:21 AM (Pacific Daylight Time, UTC-07:00)
Thank you, Ed! That started getting really annoying within a week or two of C++ development.
9/14/2005 2:52:09 AM (Pacific Daylight Time, UTC-07:00)
Excellent! This has been a pain in the proverbial for some time. Is there any solution for remote debugging?
11/30/2005 3:04:58 AM (Pacific Standard Time, UTC-08:00)
Thank you very much!
Solfe
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Search
Archive
Links
Categories
Administration
Blogroll