PC Review


Reply
Thread Tools Rate Thread

I can't debug System.Management object

 
 
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
disappear.

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
Method 'System.Object DynamicInvoke(System.Object[])' has nosupported translation to SQL. Steve Richter Microsoft C# .NET 2 25th May 2009 03:57 AM
Memory management in Debug/Release environments Epetruk Microsoft VC .NET 2 8th Oct 2006 05:33 PM
can't debug System.Management objects Haim Microsoft Dot NET Framework 0 24th Feb 2005 08:12 AM
debug error Object reference not set to an instance of an object. =?Utf-8?B?U1Q=?= Microsoft Dot NET 8 9th Feb 2005 09:12 PM
Error 1307: Adding File Permissions to NTFS using System.Management Object in ASP.NET Ben Dewey Microsoft C# .NET 9 6th May 2004 09:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:16 AM.