PC Review


Reply
Thread Tools Rate Thread

can't debug System.Management objects

 
 
Haim
Guest
Posts: n/a
 
      24th Feb 2005
I wonder if this is a .NET bug or something I'm doing
wrong:
In my code I have a function using ManagementScope and
ConnectionOptions objects from the System.Management
namespace.
My problem is that when I use this function, from that
point on in the code, the debug breakpoints does not work.
If I put a breakpoint before calling this function - they
work, but afterwards - nothing! When I set a breakpoint
before calling this function and then try to "step into"
or "step over" it - a message box jumps from the Visual
Studio -
"There is no source code available for the current
location"
When I remark all lines in the function that involves
ManagementScope and ConnectionOptions the problem
disappears.

It would help me a lot to know if this is a known issue
and if there is some kind of a fix for that.

Thanks,

Haim.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server Management Objects (SMO) =?Utf-8?B?R3V5?= Microsoft Access ADP SQL Server 4 2nd Aug 2007 07:21 PM
Memory management in Debug/Release environments Epetruk Microsoft VC .NET 2 8th Oct 2006 06:33 PM
I can't debug System.Management object Haim Microsoft Dot NET 0 24th Feb 2005 09:09 AM
Re: Serializng objects for SQL State management Phil Winstanley [Microsoft MVP] Microsoft ASP .NET 1 16th May 2004 07:22 AM
Serializng objects for SQL State management GSK Microsoft ASP .NET 1 15th May 2004 04:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:55 PM.