debugging

Visual Studio 2005 Basic Knowledge - How doing debugging on C# codes

My knowledge is very limited on VS in fact it's the first time I am using it and very little I know of C debugging too. I have pre-existing .c and .o files that have been transferred into my folder and I open VS to edit them. I then compile on a unix windows with the icl command. What I get is obviously error messages because those fil...

What does it mean when a variable appears red in the visual studio C++ debugger?

what does it mean when a variable appears red in the visual studio C++ debugger? I assume not good. Thanks. ...

Recommend me a good Debugging client for Windows

I have used MacDBG for debugging PHP scripts with XDebug and have been very happy with it. However, I have been forced to use Windows and haven't been able to find a comparable debugging client. Are there any suggestions? ...

Debugging Tests in VS2008 Slow due to loading symbols

If I click on 'debug all tests' in Visual Studio 2008 it takes ages to start (whereas 'run all tests' starts instantly). As far a can tell, this is because it is downloading symbols from Microsoft. Why is this? Is there anyway I can stop it or to make it start faster? ...

How to quickly debug when something wrong in code workflow ?

I have frequently encounter the following debugging scenario: Tester provide some reproduce steps for a bug. And to find out where the problem is, I try to play with these reproduce steps to get the minimum necessary reproduce steps. Sometimes, luckily I found that when do a minor change to the steps, the problem is gone. Then the job ...

How to debug stored procedures in sql server 2005

How can I debug stored procedures in SQL server 2005. ...

(PHP) Help debug tracking script to show only unique items.

Hello everyone, i have this script that i am trying to implement to work on my website and the script is suppose to track what games are being played at the moment but the only problem is that when i call the script to display the entries it would show duplicates and i want the script to actually explore the string and take only the $gam...

Drop into interpreter during arbitrary scala code location

I come from a Python background, where at any point in my code I can add import pdb; pdb.set_trace() and at runtime I'll be dropped into an interactive interpreter at that spot. Is there an equivalent for scala, or is this not possible at runtime? ...

Opengl ES Application works in simulator, but not on phone

Hello, I have created a simlpe Opengl ES application, a sphere bouncing back and forth in a room. When running on simulator it works fine. I have configured the simulator to be HW 3.0, from xCode I chose Simulator - 3.0|Debug. Since I only have a 3G, not 3Gs, I assume this should give the same result? What can the reason be and how th...

Problem with debugging ASP.Net application on IIS 7 on Windows 7

Few weeks ago I started using VS 2008 (Professional) with Windows 7 (Enterprise). When working with ASP.Net web applications I repeatedly stumble over the following error: After opening a solution with a web project the first compilation and debug go perfectly fine. The second time I try to debug the solution I get the "Unable to start...

Hardware breakpoints on XP 64 bit

Has anyone got hardware breakpoints to work on 64bit XP and if so how? We have an application that uses hardware breakpoints this has worked on 32 bit XP and 32 bit Vista operating systems for sometime now. However having ported our code to 64 bit we get a crash when the app is run on 64 bit XP but not when run on 64 bit Vista. The app ...

OpenGL suppresses exceptions in MFC dialog-based application

Hello. I have an MFC-driven dialog-based application created with MSVS2005. Here is my problem step by step. I have button on my dialog and corresponding click-handler with code like this: int* i = 0; *i = 3; I'm running debug version of program and when I click on the button, Visual Studio catches focus and alerts "Access violation ...

VB.NET - Debugging and DataSets?

Anyway to view the content of a dataset or datatable in debug? I don't mean looking up a specific element of the dataset but to view the hole thing. ...

How to force python's VM to print a stack trace?

I'm dealing with a python-written server that locks up, and stops working, including logging. I wonder if there's a python equivalent to java's "kill -3" signal that at least prints the current stacktrace. ...

Can VS be made to eval a debug watch even while the application is still running?

Normally in Visual Studio, a watch cannot be evaluated unless the debugger is stopped at a breakpoint. Is there a trick or add-on to make Visual Studio evaluate a watch while the application is still running? For example, evaluate the watch every time execution passes a point in the code while it's still running and without changing th...

Debuggin iPhone app on the phone

I've gotten stung by a bug that I just can't figure out how to debug. Basically I run my code on the simulator and everything is just fine. When I go to the actual device however, I get a EXC_BAD_ACCESS error. Unfortunately, when running on the phone under the debugger the damned thing works just fine, so I have no way to judge where th...

how can I get Visual Studio to not go into Debug for my specific BusinessLogicException?

Hi, I would like Visual Studio not to enter the Debug mode when it picks up a specific exception I define (i.e. BusinessException is this case). This is because I have a specific global error handler that will then present this to the user. Is there a way to avoid the VS debug pickup for this exception (so I'll go straight to seeing...

How to debug with command line in Chrome

I am recently working on dojo. And sometimes I need the help of chrome debugger help to understand how the function actually works. But right now, I have a problem. I want to add a breakpoint at a specified function. I know the function name already. But since the dojo source file is compressed, I cannot add the breakpoint at the specifi...

How to debug Java Web Application in Netbeans?

I have debug Java Desktop Applications various times in Netbeans but haven't debug Java Web Application ever. I tried to debug it the same way, but it's not working. I have made an index.html webpage. There is a "form" on that page. After a user submits the form, the request goes to a servlet (say serv1). The servlet has been called bu...

Using Firebug to send form data

Is it possible to send AJAX data with params, that aren't in the URL? I have a script that gets information from a form, and the server uses POST and not GET. I noticed the possibility in FireBug to send the params only in the URL. In case it's impossible, is there another program that might help me with that? ...