debugging

NetBeans Debugging

Is anyone aware of a setting that would cause NetBeans to jump into AWTEventMulticaster when I'm debugging an implementation of the MouseAdapter.mouseReleased method? Essentially, I set a breakpoint inside of my mouseReleased method and the code breaks as intended. However, once I press the Step Over button (F8) the debugger immediately ...

how do I stop a C++ application during execution to debug into a dll?

Hi all, I have an application for which I do not have the code, and a dll for which I do have the code. I need to be able to debug into the dll, but lacking the source for the exe, how do I do this? The dll code is mfc c++; I believe that the main app is the same thing as well. I've tried doing a 'set target application' deal, where ...

Visual Studio 2005: Debug C# code from a different project?

I have a desktop application I'm developing with Visual Studio where I need to update a small part of the app on a more frequent basis. To avoid the inconvenience of deploying a new installer every time, I split the more frequently updated support functions into a separate project and compiled it as a DLL. The desktop app now loads this ...

Debugging ASP.NET MVC source?

Trying to debug into ASP.NET MVC 1.0 source, I followed instructions like these, basically remove reference to system.web.mvc from my web project and add the source project I downloaded instead. Now, I have this problem, The type 'System.Web.Mvc.FormMethod' exists in both 'c:\Windows\assembly\GAC_MSIL\System.Web.Mvc\1.0.0.0__31b...

KDE development debugging

In a kde3 game called ksirtet (a tetris clone) when playing against a computer the human player cannot move the tetris piece left/right. I'm trying to fix it but cannot debug in gdb. After the line "kapp->exec()" gdb stops responding, the game runs and I cannot input any command do gdb to see what's going on. So the question is about deb...

does user.dmp contain only the most recent crash

Hi, I wanted to know if the "user.dmp" created by drwtsn32 has only the most recent crash. I tried to capture a few crashes. But when i tried to analyse it, I just see one crash. Thanks for the help, Arun ...

Conditional breakpoint when debugging XSLT in Visual Studio

I found out that you can debug XSLT in Visual Studio, which is pretty cool, but how do you set a conditional breakpoint? For example, how would I break only if a certain variable is empty? ...

Debug dcu path

Please provide me some details about debug dcu path and where it is used. ...

How to use IIS Debug Diagnostics report to locate source file line in Delphi COM component

We have a Delphi COM component being called from an ISAPI web app. The COM component is hanging the app because it is trying to display a MessageBox(). We have no MessageBox() call in our user code so it must be located in the Delphi runtime source, probably in exception handler code. We have an IIS debug diagnostics report that shows...

Is there any equivalent to dbug (a *really* pretty print for vars) for javascript?

I'm aware of console.log in firebug, and this thing called dbug (but not at all what I want). What I'm looking for is something that will give me a pretty print nested view into an object that looks like this for javascript: I'm also aware of this question, and am looking for something a little more tabular. ...

Anything wrong with releasing software in debug mode?

We all know that "Debug Mode" should be used for development because compiler produces more debugging information and "Release Mode" should be used for production releases because the compiler produces optimized code. However, lets say if you are making a software that is only used internally within the organization and code performance...

Flex debug mode disparities, Why ?

Hi, I have this very strange problem on a big flex app where it would run fine with the debug swf if the user has debug flash installed but will have some disparities for people with standard version of flash. These disparities include: No pop ups loose all event catching Weird positioning of a button I read somewhere that update...

debug command line application

I'm wondering if it's possible to debug a command line application (where main received arguments argc, and **argv) in visual studio 2008? ...

debug assertion error

I've been scratching my head for quite some time now, this code worked fine when I first used cmd to go inside the project\debug folder then run the program there. Then I added the if(in) and else part then it started giving me "debug assertion failed" errors mbstowcs.c Expression s != NULL It just doesn't make any sense to me.. I us...

Suppress First Chance Exceptions...

Is it possible to supress 1st chance supressions in Visual Studio (C# debugger) for specific lines of code? I want to use 1st chance exceptions in the debugger, but there are about 50 1st chance exceptions I need to go through every debug session before I get to the interesting code. Currently, I turn off 1st chance exceptions and then...

How to execute some function in eclipse while debugging a java program?

Like firebug for debugging javascript, is there such a feature in eclipse? or do I need a plugin? ...

.NET - First chance exception listener for intensive debugging?

This is probably unrealistic, but would it be possible to enable a component to be notified of all first chance exceptions occuring in its process? We have some third-party (contracted by us) components which fail to do anything but eat excepitions and the politics of the business relationship make the whole ordeal a royal pain. We als...

Help me find an appropriate ruby/python parser generator

The first parser generator I've worked with was Parse::RecDescent, and the guides/tutorials available for it were great, but the most useful feature it has was it's debugging tools, specifically the tracing capabilities ( activated by setting $RD_TRACE to 1 ). I am looking for a parser generator that can help you debug it's rules. The t...

Debugging LINQ Queries

We've been doing a lot of work with LINQ lately, mainly in a LINQ-to-Objects sense. Unfortunately, some of our queries can be a little complicated, especially when they start to involve multiple sequences in combinations. It can be hard to tell exactly what's going on, when you get queries that start to look like: IEnumerable<LongType...

Detecting Javascript Memory Leaks & Optimizing Code

Hello, Similar to xdebug+webgrind which gives us the rough time for execution for each function in a file etc, I am wondering how to go about optimizing as well as detecting slow javascript functions. Am sure firebug can probably do this, but am not sure how? Can someone guide me as to how to detect memory leaks also? How do I decide ...