debugging

Can I Attach to Process without it being already running?

Using Visual Studio 2005's Attach to Process, is it possible to select an application to run and then debug as opposed to an application that is already running? I am trying to debug a FileMaker Plugin and I can debug it fine if I open FileMaker then use attach to process, but I now want to debug the initialisation of the plugin so need...

What is webdev.webservice process?

Hi, I have an asp.net page which calls a webservice. I wanted to check the webservice request and response strings by using fiddler - HTTP Debugging Proxy tool. When I see the sessions there is a process called: "webdev.webservice:2148" What is webdev.websrvice? ...

Android - Having a hard time debuging Eclipse

I am a little bit new to developing for Android using Eclipse (Coming from a .NET/Visual Studio background). My biggest problem in developing Android app is "debugging" them. Every time the emulator throws an error, there is no message, no explanation of what caused the error. I basically have to keep doing trial/error until something w...

How can I trace every event dispatched by a component or its descendants?

I am trying to determine what events I need to wait for in a test in order to ensure that my custom component has updated all of its properties. I was using VALUE_COMMIT, but for some reason that isn't working out for me. So, I want some easy mechanism for tracing every event dispatched from a component. Is this possible? ...

Visual Studio 2008 : Step to next line is very slow when debugging managed code

Hi, When stepping through my C# code line by line via F10, it takes the debugger over one second to get to the next line. I've tried deleting all watches and breakpoints, but that did not make any difference. Is this normal? It's been like this for quite a long time now, so I can't even remember if this was ever better. My developmen...

What's causing duplicate character entry in my web form textboxes in IE?

We have a fairly robust ASP.NET app using quite a bit of AJAX, jQuery & CSS. After opening a new instance of the browser using CTRL+N, when entering data into textboxes, if users want to enter "foobar" it dups every key they hit. So they get "ffoooobbaarr" instead. We're not able to isolate this to a consistent debugging environment th...

Is there a way in VS2008 to search through a watch or a quickwatch for a particular value?

Hi Guys Suppose I am watching something in VS2008 and I want to search the object I'm watching for an instance of a particular value. For example, say I'm watching this and I want to search for a control called mycontrol inside it or I want to search for a string that currently has the value of "Hello World". I know it's kind of a bru...

Does anyone know of a computer programming work patterns site?

There are all those Design Patterns wikis -- you know, with Singleton, Iterator and all that. I'm not looking for that. I'm looking for one level up from that: computer programming working patterns. Such as "Debugging", "RetreatAndSolveSmallerProblemFirst", and the like. EDIT: Clarifying that I'm interested in individual work patterns r...

Eclipse-C++-Debugging: see content of an Array

Is it possible to see the content of a dynamically allocated array, as in: int *array = new int[dimension]; I only see the value of the pointer. edit: just found the option "display as an array", but I always have to manually enter the size of the array. Is it possible to get that automagically? ...

ASP.NET MVC debugging following VS2010 uninstall

OK this is an odd one. I wanted to install ASP.NET MVC 2 Beta 2, so I uninstalled VS2010 Beta 2 (which I wasn't using anyway) and installed MVC 2. I then upgraded one of my projects to MVC 2 but noticed that if I try to set a breakpoint on any of my view models (classes in the Models folder) I get an error message about debug symbols. ...

Using aptana.log outside of aptana

Aptana is a useful debugging tool but one of the joys of liberally spreading aptana.log statements around in your javascript is that you have to remember to comment them out prior to running outside of the debug window. Here is one trick that will allow you to continue sprinking debug statements around that will still work outside of de...

Silverlight 3 WCF Service `CommunicationException` Server returned error: NotFound

I have a Silverlight 3 application, which 95% of the time is successfully requesting data from a WCF Service (in the same webapp) and displaying it. This happens infrequently, usually if I hit the service a bunch of times quickly, but sometimes it'll happen on a single lone request. Every once in a while, if I request a lot of transac...

Exception handling help

Hi All, I have written and tested a WinForms application and everything works fine on my machine (cliche, I know). When I created a setup project and installed it on a co-worker's machine, he receives the following message: ************** Exception Text ************** System.IndexOutOfRangeException: There is no row at position ...

Lightweight debugging on embedded Linux

I'm developing an application that runs on a small Linux-based SBC (~32MB RAM). Sadly, my app recently became too large to run under GDB anymore. Does anyone know of any good, lightweight debugging methods that I can use in embedded Linux? Even being able to view a thread's stack trace would be extremely helpful. I should mention tha...

Corrupt files when debugging into .NET framework

When debugging into the .NET framework using Visual Studio 2008 Professional, the source files appear corrupted somehow, and the yellow debug line doens't hit the correct lines in the source. For example, a source file might start like this: // Copyright (c) Microsoft Corporation. All rights reserved. namespace System.Web.Mvc { ...

Error message in C# software debug question.

Im getting this error when trying to run a program in creating, how shold i interpet the error message, the macro runs just fine for many loops but then just suddely it breaks, giving this error. ************** Exception Text ************** System.ArgumentException: Value of '-1' is not valid for 'blue'. 'blue' should be greater than or...

Is debugging complex HTML/CSS/JavaScript pages feasible?

Consider a complex rich internet application with lots of user interaction. I'm thinking of extensive drag-drop support, server-side user input validation, custom drawn UI controls such as an Outlook-like calendar, real-time UI feedback, etc... Would such an application be debuggable? I mean, can you easily step through the source code, ...

Ways to corner a stickiness bug

How to determine exactly what a piece of software is doing when it is stuck, unresponsive to user input and not updating its display? I have tried oprofile, which records what function is executing, but it's not giving me enough clues. It counts everything that happens during the time it's running, when I need to see what's happen...

how to debug asp server-side script using MS script debugger

how to debug asp server-side script using MS script debugger. ...

How do you debug through a compressed javascript file?

I'm using django-compress to shrink my javascript files. However, I am now having trouble debugging through it because everything is squished. I believe stackoverflow use some kind of js compression too. How do you go about to debug through your javascript on the live site or on your dev machine with the code well formatted? Firebug h...