Hi,
I have been using Visual Studio 2005 and 2008 and i have noticed that sometimes when i place break point in my code that it does not want to go to the break point. So i restart my PC and then it works again. Its like something get's stuck? Does this only happen to me???
How can i prevent this! It is driving me nuts!!
Thanks in adva...
When debugging C# with Visual Studio, is it possible to see WHICH object reference on a given line of code caused a NullReferenceException?
I have what seems like an odd situation where, occassionally, when running a debug build of an application from Visual Studio, I will get a NullReferenceException at a certain line.
Visual Studio w...
I am trying to debug a unit test. When I step into the code of the class I want to test VS2008 show the disassembly rather than the source. I have checked in the modules window and the status for the module in question reads "symbols loaded" so everything looks OK
The project is c#, I am using Visual Studio 2008 SP1, anyone got any idea...
Hi, I use newest sIFR version. It works on some browsers and does not on other. Flash version doesn't seem to matter, and on one computer it works on IE8 but won't go with FF3.
The thing is that if it fails to work it just displays nothing, no regular text/typefaces, just an empty space.
The site is http://www.winaisery.pl/
Do you hav...
If I set a breakpoint on a method, how can I see what called the method, when the breakpoint is hit in visual studio 2008?
...
Python rather stupidly has a pragma directive in its include files that forces a link against python26_d.lib when the DEBUG preprocessor variable is defined. This is a problem because the python installer doesn't come with python26_d.lib! So I can't build applications in msvc in debug mode. If i temporarily #undef DEBUG for just one file...
When I go to
Debug -> Start
I get the error:
"Unable to attach to machine 'mypc' Do
you want to continue anyway? YES/NO
I did not attach a proces and am not sure why it is coming up. (Also, when I hit YES to the error, it does not run.)
How do I remove all attachments on the debugger?
...
When I run tests with ./manage.py test, whatever I send to the standard output through print doesn't show. When tests fail, I see an "stdout" block per failed test, so I guess Django traps it (but doesn't show it when tests pass).
...
From Python docs:
sys.excepthook(type, value, traceback)¶
This function prints out a given traceback and exception to sys.stderr.
When an exception is raised and uncaught, the interpreter calls sys.excepthook with three arguments, the exception class, exception instance, and a traceback object. In an interactive session this ...
I have an exception that I need to swallow (exception during logging), however I dont want the exception information to be completely lost to the mists of time and so I figured I may as well at least output it to debug using
Debug.Write(ex.ToString());
That way if it becomes necessary support can at least use DebugView on the machine ...
Hi all,
I'm an escalation engineer on a product which use both c# and delphi 2006 code.
In most cases c# issues are debugged with windbg and delphi 2006 issues with eurekalog.
But when the issue is a delphi memory usage, eurekalog don't give enough information to fix the issue and the only thing i have to debug it is a full memory dum...
When I'm debugging something that goes wrong inside a loop, say on the 600th iteration, it can be a pain to have to break for every one. So I tried setting a conditional breakpoint, to only break if I = 600. That works, but now it takes almost a full minute to reach that point, where before it was almost instantaneous. What's going on...
EDIT: I would love to read reactions to Steve Reed's AOP approach. Comments to his answer are encouraged!
I'm a novice, and at some point I realized it would be helpful to know the contents of a variable during program execution. So I started doing this:
EDIT: fixed this. Used to be: var + ": " + var, which was totally wrong. Dumb typo...
I'm in a situation where I have many connections that are "IDLE in transaction". I
spotted them myself. I could kill them, but that wouldn't prevent them
from happening again. In fact, it happens regularily.
Is there a way to get the list of SQL statements that were previously
executed as part of a given transaction?
If I could get tha...
When I'm debugging, I sometimes find it useful to "replay" the last few statements of code. For example:
void foo (int & i) {
i = 0;
++i;
i++;
}
While running this through the debugger, you can add a breakpoint at the top of the function body, and then from any statement inside of foo if you type: "jump file.cc:2" the debugger...
I am using the Crystal Reports that comes with Visual Studio 2008
Here is my problem. I have a simple little command line utility that generates a single crystal report. It
Connects to a database
Gets a dataset out of a stored procedure. The dataset is always one table with one row.
Sets the dataset as the report's DataSource
Dep...
Hi
I am kind of lost here, and I don't know what to do
I have a problem that I don't know what the source of it.
We have a large wpf application, that is built similar to prism (composite application)
Actually we are using lots of prism library.
I wrote a module to replace an existing module.
And the application now is loading my modul...
Maybe a simple question.
When I attach to a process, I run "continue" to make it continue to run.
Then I want to some other job like "add-symbol-file" with need not interactive with target process, but after the "continue" command, the gdb console will block, so I can not do any action before I break the process.
Is there any way that...
Can anyone offer any suggestions as to why wp-admin/options-general.php won't load on my Wordpress installation in PHP 5.3? If I enable debugging and then have PHP report errors, I do get deprecation errors, but they don't seem relevant. Further, if I fix these errors, the page still does not load.
The top bar and several navigation box...
The service was compile with no trace/debug constant and no debug info.
How would you inspect the memory usage of that windows services?
...