473,698 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can't detach the debugger?

Bob
Sometimes I get some odd design-time exceptions that are useful to
troubleshoot by attaching the debugger to devenv.exe itself and breaking on
CLR exceptions... works well but when I'm done I'd like to stop debugging
without killing the IDE I attached it to. Is that possible?

Bob
Nov 21 '05 #1
2 1657
Yes it is possible.

Go to Debug-->Processes-->Select the attached process of your choice in the
lower listbox and choose "Detach" !! Thats it !!

- Sahil Malik
You can reach me thru my blog at
http://www.dotnetjunkies.com/weblog/sahilmalik
"Bob" <no***@nowhere. com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Sometimes I get some odd design-time exceptions that are useful to
troubleshoot by attaching the debugger to devenv.exe itself and breaking on CLR exceptions... works well but when I'm done I'd like to stop debugging
without killing the IDE I attached it to. Is that possible?

Bob

Nov 21 '05 #2
Bob
"Unable to detach from the process 'devenv.exe'. The requested operation is
not supported."
"Sahil Malik" <co************ *****@nospam.co m> wrote in message
news:er******** ******@TK2MSFTN GP12.phx.gbl...
Yes it is possible.

Go to Debug-->Processes-->Select the attached process of your choice in the lower listbox and choose "Detach" !! Thats it !!

- Sahil Malik
You can reach me thru my blog at
http://www.dotnetjunkies.com/weblog/sahilmalik

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
15443
by: DBA | last post by:
If I detach a database on a server, then attach the database with a single file only using the data file...will I lose any transactions that were in the original log file? There is a debate going on here at work where some people think that during the detach, transactions in the log file are saved to the data file. Thanks!
0
304
by: Ramesh K | last post by:
Hi All, Here is the scenario where i am having the problem. There is a COM component let us say "A" is running under DLLHOST . "A" creates normal COM component "B". To debug the component B i am attaching to the DLLHOST process before any method is calledon the component B. In this case i didn't find any FILE HANDLES held by the DLLHOST.EXE for the component "B". When workspace of "B" attaches to the DLLHOST.EXE and when a method is
0
1375
by: Ramesh K | last post by:
Hi All, Here is the scenario where i am having the problem. There is a COM component let us say "A" is running under DLLHOST . "A" creates normal COM component "B". To debug the component B i am attaching to the DLLHOST process before any method is calledon the component B. In this case i didn't find any FILE HANDLES held by the DLLHOST.EXE for the component "B". When workspace of "B" attaches to the DLLHOST.EXE and when a method is
0
1358
by: Ramesh K | last post by:
Hi All, Here is the scenario where i am having the problem. There is a COM component let us say "A" is running under DLLHOST . "A" creates normal COM component "B". To debug the component B i am attaching to the DLLHOST process before any method is calledon the component B. In this case i didn't find any FILE HANDLES held by the DLLHOST.EXE for the component "B". When workspace of "B" attaches to the DLLHOST.EXE and when a method is
3
9829
by: Sushil Srivastava | last post by:
Hi Guys, Would you be able to help me using C# GUI (with user interface component) in my MFC application. I have used managed extension, COM-interops, etc but problem is this C# component has user interface. how should have get window handle from managed windows? Thanks in advance. Sushil
3
7942
by: Siah | last post by:
Hi, I'd like to detach some of my dom elements and cache them in an object. My current options are to cache its innerHTML, or create an independent 'div' element and move the element as a child underneath that div element. There should be a way for me to just detach my element from document's dom tree and be able to set it into a variable. Thanks, Sia
0
931
by: ad | last post by:
I use a .mdf file as user instance of my Web Application. The file is c:\mydb.mdf I connect the .mdf file with AttachDBFile, and then I want to detach the file, I use the stored procedure: sp_detach_db 'c:\mydb.mdf' But the system error with message: can't detach the file, the file is used. How can I detach a user instance with asp.net?
4
5443
by: Esben Stien | last post by:
Any examples how to detach and run as a daemon?. I've seen some use System.out.close() and System.err.close(), but I just can't get it to detach and run as a daemon. I'm on GNU/Linux, using gcj/classpath. Any pointers? --
6
3364
by: Good Man | last post by:
Hi there I am trying to assign an "onclick" event to a dynamically-created DOM element (an image). I have read countless times that "eval()" is to be avoided at all costs. However, I cannot seem to get my new onclick to work without it. Here's what I have so far:
0
9152
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9016
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8856
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7709
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4613
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2321
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1997
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.