473,382 Members | 1,238 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

I can't debug System.Management object

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.
Jul 21 '05 #1
0 869

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

Similar topics

1
by: George Shubin | last post by:
I wanted to start learning ASP.Net programming, so I downloaded the IBuySpy Portal and Store VSVB examples from GotDotNet and installed them on my computer (Win2000, IIS, MSDE). I got them to run...
16
by: Dean R. Henderson | last post by:
I have a project built for ASP.NET that recently started running really slow in debug mode (it takes about 10 seconds or more to step from one line of code to the next). This just started...
8
by: George Shubin | last post by:
I wanted to start learning ASP.Net programming, so I downloaded the IBuySpy Portal and Store VSVB examples from GotDotNet and installed them on my computer (Win2000, IIS, MSDE). I got them to run...
15
by: Adam J. Schaff | last post by:
I have noticed that if a user closes a form via pressing return (either while the OK button has focus or if AcceptButton is set to OK for the form) then the "ENTER" keypress event fires ON THE...
0
by: Haim | last post by:
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...
0
by: Larry Rebich | last post by:
I am trying to use the sample web template that is distributed with Visual Studio 2005 called 'Personal Web Site Starter Kit'. After running for awhile it fails with the following message: ...
13
by: Rick | last post by:
The following code will enter an infinate loop when in ReadChars. I can only make it happen when reading a Stream and with this particular XML. If I use the ReadInnerXml call rather than my own...
16
by: sajin | last post by:
Hi All, I am building a windows application in VB .Net 2005 , and for deploying the application i need to run some exe's if it is 32 bits and some other exe's for 64 bits Can anyone tell me...
2
by: karthi84 | last post by:
Hi Experts, i have created a web application which has an option to edit the web config file from the web page. when i create an installer for this project using web setup project in VS2008 and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.