debugging

Is there any addin for VisualStudio debugging to see DataTable content in a nice way?

Hi, Do you know if there is any add-in for Visual Studio, that shows the content of any DataTable in a nice way when I hover on the relevant variable in Debugging? ...

When VS Edit and Continue needs a recompile ?

In which cases of Visual Studio 'Edit and Continue' feature do i have to rebuild / restart the project (otherwise the changes don't influence the running process) ...

Netbeans jsp debug

Hello all. How can i see in debug time the value of a el expression? i.e. ${myBean.myProperty} ? Thank you ...

Turning on DEBUG on a Django production site

I'm using the Django ORM in a non-Django application and would like to turn on the DEBUG setting so that I can periodically log my queries. So I have something vaguely like this: from django.db import connection def thread_main_loop(): while keep_going: connection.queries[:] = [] do_something() some_logging...

How to run WCF service and Silverlight 3 client app in one VS debug session

Is this possible? I have a solution with both projects, I just want to be able to hit F5 and debug both client and server at the same time. Thanks! ...

What special variables available in Visual Studio watch window in .NET?

I just learned about $exception in the VS.NET watch window for .NET yesterday. This shows the current exception that has been thrown and is a big time-saver in not needing to find the little exclamation point icon and hover over it. What other special variables are there in the watch window? (Note: this question is about .NET, not C++....

Set CPU register values while debugging managed app in VS

I am debugging a .NET app in Visual Studio 2010 RC using disassembly view. The code is optimized and JIT-ed. At a particular point, I need to change ZR CPU flag so that JNE instruction would take a different path. For some strange reason, the registers window in VS is readonly and does not let me change register values, nor can I use "se...

PHP mysterious extra DB insertions

I decided that I would like to track the searches that users are making on my site, so I created a MySQL table called 'Searches' with a few simple fields, and a model (class) to facilitate the insertion and management of the saved searches. The model function that saves the search is: public function create() { $q = $this->db->quer...

Console windows that cannot be killed by closing or via Task Manager

When I run a test harness through the Visual Studio 2005 debugger, it creates a console window every time I run it. In the past, the console window would close automatically when the test harness process terminated, but now I'm finding that the console window is hanging around afterwards. After the test harness terminates: I cannot c...

php not getting inside foreach loop

I swear this script worked fine last night but can't get it to work today. It's not getting inside of the foreach loop though and i don't know why. the $_FILES array is null even if i select a file and click submit. Basically this script has a file input tag and using jquery, if a user selects a file, it adds another file input tag. Whe...

Can you recommend a good debugging malloc library for linux?

Can you recommend a good debugging malloc library for linux? I know there are a lot of options out there, I just need to know which libraries people are actually using to solve real-life problems. Thanks! EDIT: I know about Valgrind, but sometimes the performance is really too low. ...

Debugging VS2008 project on VMWare Windows 2003 server

Howdy Folks, Has anybody had success opening/debugging a Visual Studio 2008 website while running on a Windows 2003 server? For whatever reason when i try to open the site through Visual Studio 2008 it just hangs and when checking the task manager i can see it's gobbling up copious amounts of RAM to the point that when it reaches 350,0...

Visual Studio - can be a breakpoint called from code?

I have a unit test project based on UnitTest++. I usually put a breakpoint to the last line of the code so that the I can inspect the console when one of the tests fails: n = UnitTest::RunAllTests(); if ( n != 0 ) { // place breakpoint here return n; } return n; But I have to reinsert it each time I check-out the c...

How to Debug XAML Parsing Errors in Silverlight?

I run into the following issue semi-regularly: I make changes to XAML or some resources used by it and when I go to load up the Silverlight project in debug mode it only gets as far as the spinning Silverlight-loading animation. I've tried attaching the VS08 debugger to the process but it doesn't do anything at this point (works fine on...

Debugging .NET 2.0 Winforms application using Debugging Tools for Windows

I support a .NET 2.0 Winforms application that is fairly widely deployed. On rare occasion we get a support call from a customer in which the application returns a .NET runtime exception AS SOON as you attempt to launch the application. In the past we have helped the customer re-install the .net framework and very often that works...but...

How to debug Apache XML-RPC client with Python server

I am writing xmlrpc codes to communicate between Apache XML-RPC client and a Python SimpleXMLRPCServer. I have difficulty debugging it, because I can't find a way to see the request XML/response XML. Are there anyway I can see it dump to console or logged in file? ...

Can the Visual Studio (debug) Output window be programatically cleared?

Hi folks, is it possible to have a way to clear the Visual Studio OUTPUT window, programatically? For example, the SysInternal's debugger app called DebugView has the specific command called DBGVIEWCLEAR .. which clears the log window. Please don't say: right-click, clear window .. with the mouse. I know that, but that's not what i'm a...

WinForms + commands from console in C#

Hi, I've read a few topics about programs that combine WinForms and console applications but it seems my question hasn't been solved yet. Is it possible to run a program from cmd-line and to be able to control the app via forms and via cmd-line commands? It means: for ordinary users of the app to control the app via (win) forms, for...

How to debug Django PayPal IPN?

I'm using this django app to implement PayPal IPN. I'm testing it using PayPal's IPN simulator, but it's telling me IPN delivery failed. HTTP error code 500: Internal Server Error So how can I debug this and see what's really going on? I've dug into code: @require_POST def ipn(request, item_check_callable=None): """ PayPal...

How to run additional statements in eclipse(pdt for PHP)?

Like firebug's console,I can type in the scripts directly. Is there a similar place in eclipse out there? Or do I install some plugin to have the feature? ...