Hi,
I am now debugging a program that utilizes many different threads.
there is an exception that is thrown from time to time. the problem is that there is no way to know what thread caused the problem...
does anyone know an easy way to get the stack trace after the exception is thrown? I thought about simply writing a debug message...
I have several web application projects in one solution.
When I start debugging one of those web applications I noticed that the ASP.NET Development Server starts for all web applications in my solution.
How can I determine to just one ASP.NET Development Server to be started?
Is this even possible?
I don't want to have my system tray f...
I know I've dealt with this issue before, but the settings to override this always seem to be changing.
I have a C# project in Visual Studio 2008. While I'm debugging, VS won't let me edit my code. I don't want to Edit and Continue - I just want to make changes for my next build. Edit and Continue is disabled. When I try to edit a file ...
I have a pre-alpha GUI program that I'm dogfooding and want to run under the debugger (for when things go wrong ;) but I don't want to have to launch a new copy of VS for each instance of the App. Can this be done?
I don't expect to actually be debugging more than one instance at a time, but still want the debugger in the look for all o...
I'm debugging a WinCE, C++ program in Visual Studio across an ActiveSync connection. Every time I start the process it fails to load symbol information. However, if I right click on the module and hit 'Load Symbols' it correctly locates the symbol information without any further prompting from me.
Is there a way that I can set Visual ...
I often accidently step into code that I'm not interested in while debugging in Delphi.
Let's start by saying that I know that you can step over with F8, and that you can run to a certain line with f4.
Example:
function TMyClass.DoStuff():Integer;
begin
// do some stuff
bla();
end;
procedure TMyClass.Foo()
begin
if DoStuff()=0 ...
In my web.config I have the standard element;
<compilation debug="true" defaultLanguage="c#">
I know I could use [Conditional("DEBUG")] on methods, or use some pre-compiler if statement like #if DEBUG, but what I am looking for is the built-in .NET framework setting that lets me know if the setting for debug in the compilation section...
This is a fairly involved bug, and I've tried looking around to find other sources of help, but for reasons I don't understand, "Program Crashes in Vista" is not the most helpful query.
The issue I'm having is that the program I'm working on - a graphical, multithreaded data visualization software that uses OpenGL and the Windows API - ...
In MFC C++ (Visual Studio 6) I am used to using the TRACE macro for debugging. Is there an equivalent statement for plain win32?
...
I am using LinqToSQL to grab data from my database.
I am injecting my DBContext into the application using Springs IOC container.
If I dont have my VS debugger attached, it works fine.
However, with the debugger attached I get the following errors:
"There is already an open DataReader associated with this Command which must be closed...
I often run into the situation where I want to disable some code while debugging without actually changing the code.
What I end up doing is having a break-point (usually conditional) and then when the break-point fires I perform a Set Next Statement. This can be very labor intensive when the code is reached many times so I created a mac...
Is it possible to get the pydev debugger to break on exception?
...
When I'm debugging, I often have to deal with methods that does not use an intermediate variable to store the return value :
private int myMethod_1()
{
return 12;
}
private int myMethod_2()
{
return someCall( someValue );
}
Well, in order to recreate a bug, I often have to change values on the fly. Here,...
Hi All,
I am getting a bit tired of looking at unformatted json blobs in FireBug.
Does anyone know an equivalent to PHP's print_r() for jQuery?
Something that would recursively make a display string from an object or array, that I could display on the page for quick debugging?
Thanks!
...
On Win32, with unmanaged code, the return value is usually stored in the EAX register. This is useful when the program doesn't save the return value in a variable. This can easily be seen in the Visual Studio debugger.
Is there an equivalent for managed code?
...
There are Mac GUI applications which provide a front-end to more geeky commandline tools (often included as a part of the application package). I would like to look at what is happening under the hood of such GUIs.
How to "attach" to an application, monitor it for calls to command line utilities and log a filename and command line param...
I have recently inherited a website written in Classic ASP, and am currently trying to get a sense of the state of things. The website is working in production, however the development environment (hosting on a Windows Server 2003 box) produces an HTTP 500 error when you try to navigate to it.
I realize that HTTP 500 errors just mean th...
I have come across a quirky "feature" in Visual Studio and I was interested in seeing if anyone else had noticed this. Or if it is specific to myself.
I have some methods that perform SQL queries on a database and then return an OracleDataReader
method()
{
OracleCommand cmd = new command(query, connection);
OracleDataReader r = cmd.Exe...
Will it make any difference if I grab a Dr Watson crash dump on a hung process, instead of ADPlus hang dump?
Thank you
Surya
...
I like to keep javascript debugging enabled in my browser so when I'm developing my own code I can instantly see when I've made an error.
Of course this means I see errors on apple.com, microsoft.com, stackoverflow.com, cnn.com, facebook.com. Its quite fun sometimes to see just how much awful code there is out there being run by major s...