debugging

VS 2008 Addon to temporarily disable/remove all catch block

Is there any addon by which I can disable all catch blocks temporarily. I'm maintaining an application and I need to find out where exactly it is throwing exception. Someone has done error handling is done is all layers to make my job tough :( ...

Custom debug engine for Visual Studio in managed code

We are developing a custom textual DSL, that will ultimately get integrated into Visual Studio IDE. We would be needing debugger support for the DSL. I could not find any references or samples that show custom debug engines written in managed code (C#). Of course there are a lot of samples where the DE is written as a COM component. P...

Program Deployment Failing

The project my team has been working on has reached a point where we need to deploy it to computers without the development environment (Visual Studio 2005) installed on them. We fixed the dependency issues we had at first, but we're still having issues. Now, once the installer is finished, our project gets stuck somewhere before enteri...

Debugging Web Apps in Visual Studio 2005 with Internet Explorer 8

First of all, everything was working fine for several months: When I tried to debug a web app with Visual Studio 2005 and Internet Explorer 7, I just click "Start Debugging", a IE window opened and the process was attached to the debugger. But after I installed IE 8, the process was not attached automatically. I had to attach manually...

Is it possible to debug a userland application from kernel land ?

Hey, I'm debugging some win32 application which has loads of anti-debugging, I've tried different stealth options w/ olly and IDA but none of them seem to work. I was wondering if it's possible to debug this userland app from kernelland so the app won't know it's being debugged ? if so - which debugger should I use ? ...

Really strange problem with just in time debugging and filestreams

Hello all, I developed a small program which was working fine until I made a really minor change in some unrelated part of the code. From that point onwards the program throws an unhandled win32 exception and Microsoft Visual Studio Just in time debugger kicks in. I am using codeblocks and my compiler is the gcc compiler. What is frust...

Why does not the Application_Start() event fire when I debug my ASP.NET MVC app?

I currently have the following routines in my Global.asax.cs file: public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( "Default", "{controller}/{action}/{id}", new { controller = "Arrangemen...

Avoiding Groovy/Grails internals while debugging in IntelliJ Idea

I'm using IntelliJ Idea 8.1.2 for Grails development. The dynamic nature of Groovy is giving me a hard time debugging my code: I keep ending up in the internals of Groovy/Grails, i.e. CachedMethod, ExpandoMetaClass or the like. Is there a way for example to tell the Idea debugger to completely skip the Groovy/Grails internals while debu...

How to setup a virtual 1394 connection ?

Hi, I want to make a kernel debugging session, and im using vmware Workstation to do that. How can i make a virtual 1394 connection between my VM and the host so I can debug the VM ? OR How can i make a usb connection between the VM and the host ? Thanks! ...

breakpoint in eclipse for appengine

I have pydev on eclipse and would like to debug handlers. I put breakpoint on a handler and start project in debug mode. When I click on the hyperlink corresponding to handler the control does not come back to breakpoint. Am I missing something here? Also the launch is for google app engine application in python. ...

Best way to debug Javascript on an iPhone app?

I'm doing some rough development on the iPhone. I'm writing a native iPhone app, which uses an UIWebView object to load web sites with javascript. I find very difficult to debug the javascript code on an iPhone. What are the methods/techniques available for this matter? ...

VBScript/ASP-Classic "Stop" Statement Not Breaking Into Debugger

I've used to put a "stop" statement in my VBScript/ASP-Classic code to break into debugger (Microsoft Script Editor, that comes with Microsoft Office). But now it isn't breaking anymore. The "stop" is ignored and nothing happpens. The server-side debugging flag is already enabled in IIS How to solve this? Sample Code, hello.asp st...

Debugging in failing method when invoked from other thread

I have code like the one in this question, basically a UI-thread that gets updated from another thread and uses InvokeRequired() and Invoke(..). Now, if the method fails in the work part, the debugger stops on the Invoke(..) line -can I make it show me the line where it actually failed like it usually does? ...

Problem with a MS Access query after a "Compact and repair" operation.

I have an Access application that use the classical front-end/back-end approach. Yesterday, the backend got corrupted for a reason I don't know. So I opened the backend with Access 2003 and access asked me if I wanted to repair the file, I said yes and it seemed to work. I can open the database see the tables contents and run most of th...

where did my memory go? large private bytes count

I have a WPF app that among other things display a lot of images, large and small. My problem is that the app uses a lot of memory and I cannot figure out where it's coming from. The scenario, when stressing the app some I get this graph in perfmon: The big black line is Process\Private bytes and the other lines are the CLR mem count...

vs2008 attach to process, can't see which process

Hi, In vs2003 (and vs2005(not sure about that)) when I attached to a process, before actually attaching I could see which process were running under w3wp (I have a couple of websites running locally) so I knew which exact .net application I was about to debug. however in vs2008 the window doesn't show up anymore.. now I have to attach ...

Remote Debugging Java application

I have a java application running on linux machine. I run the java application using the following java myapp -Xdebug -Xrunjdwp:server=y, transport=dt_socket,address=4000, suspend=n I have opened port 4000 for tcp on this linux machine. I use eclipse from windows xp machine and try to connect to this application. I have opened the p...

C Programming: seg faults, printf, and related quirks

As many young programmers do, I learned the usefulness of inserting numerous print-to-console statements of "here1," "here2," and so on at different points in code to figure out when my programs are going awry. This brute force debugging technique has saved me many, many times throughout my CS studies. However, when I started programming...

visual studio doesn't show new members.

I've editted a struct, added some members, removed others. But when I'm debugging, it doesn't show the new members, but is still showing some old members. It's very annoying. This is the struct. It doesn't show the firstFreeSpot int. But a vector called appointments, which I removed. This is the struct. struct AppointmentHour { string ...

A better way to manage debug messages in general ?

Hi, that may be a dumb question... but I have a quite large java program that i'm debugging using the old System.err.println method, like I do using print* in any other language... But after a while, I've so many of them, I don't know how to manage them (and sometimes I put twice the same message concatenated with other information mak...