debugging

What do I have to add to the manifest to debug an Android application on an actual Device?

What kind of permission/Flag do I have to add to the manifest to debug my application on an actual Android device? ...

Can I pre-attach a debugger to a service?

I have a Windows Service and I would like to see what it's doing when it starts up. Normally to accomplish something like that, I'd hard-code a Thread.Sleep for like 10 seconds to give me enough time to attach the debugger. This is effective, but annoying, as I need to re-compile once to put the pause in and again when I (hopefully remem...

Reproduce a network filesystem error without a network

I have some software that is usually relies on data that is stored on a local hard drive. However one of my clients is encountering an error that I am unable to reproduce, and I think this may have something to do with the fact that their data is on a SAN. The program crashes randomly, and only when manipulating files. It would be usefu...

How would I debug this IE7 issue?

Problem: Conditions: IE7, SP2, latest flash/java. Only reproducible on one machine. Observations: Smaller than a javascript alert box, and seems to be generated when a swf on my web page loads. The dialog is modal, however, like an alert box. Issues: I've tried matching the configuration of the machine in question, but a recreati...

iSimulate Automatic Hooks

I was wondering if anyone knew how iSimulate automatically registers/hooks itself into a debugged iDevice application? It's as simple as including the static library (and a couple of frameworks) and it just works. There are no methods or functions to call. How is this possible? ...

VIsual Studio 2008 - Debugging tips/tricks - Continue "until next function" or "until next file"

Is there any way to tell the debugger to just continue until the next file is accessed, and/or until the next (developer written) function is accessed, without setting debug points ahead of time? I'm kind of new to VS debugging so all I use right now are f5, f10, and f11. ...

Visual Studio - Debugging dialog

Hi folks, i get this dialog while debugging code in visual studio 2008. (your step-into request resulted in an automatic step-over) Any Ideas? TIA ...

Android Debugging Problem

For some reason I can't step through the code in the debugger. I am not trying to step through Android source code, just code that resides in my project. My build paths are setup to include it, but whenever I try stepping over anything it gives me a "Source not found" message. This is incredibly frustrating, and a prompt answer would be ...

Why is line 17 of this Java program not being executed?

As an exercise for my Java course in Uni this morning, I had to write a small program to ask the user to input some details, then print them back. I've since finished writing it, but I ran into a strange problem along the way. See the code below: import java.util.Scanner; public class Scanner_Exercise { public static void main (S...

Why does Visual Studio continue build after Stop debugging?

I have a Visual Studio solution with roughly 90 projects in it (mixture of Windows Forms in C#/VB.NET,WPF and Silverlight stuff). I have a Windows Forms application (C#) as the startup app. I press F5 to start debugging. When I exit the debugged application by selecting Stop Debugging in Visual Studio or by selecting Exit in the debugg...

unable to place breakpoints in eclipse

I am using eclipse europa (3.5) on windows vista home premium 64-bit using JDK 1.6.0_18 (32 BIT). Normally, I am able to put breakpoints just fine; However, for a particular class which is NOT part of the project (this class is inside a .JAR file (.JAR file is part of the project) ), although I have attached a source directory to this ....

Visual Studio 2008: How to redirect Trace, Debug and Console output to the Output window?

I have noticed recently that the Visual Studio "Output window" stopped writing out my Debug.WriteLine messages in my WinForms application. It does neither output the Trace.WriteLine messages. I have also used DebugView while running this application and it shows nothing. I am sure it worked in some VS projects some time ago - the output...

What's the purpose of perl's #line directives?

Line directives (#line) are used to reconfigure perl's idea of the current filename and line number. When is this required to get right filename and line number (in an error message)? ...

Url problem of eclipse

When I debug a web page,the url generated by eclipse is like this: http:\\localhost?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=12682902387182 which should be http://localhost?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=12682902387182 How to correct this? ...

Tips to speed up debugging in Codegear

Are there any tips to speed up debugging in Codegear? For example, when I set breakpoints it can sometimes take a long time for the IDE to be active once the breakpoint is reached and likewise when I hit F8(stepover). ...

WinCheat / WinSpy-like tool for C++ Builder exes

I just came back to C++ Builder after 5 or more years away. I seem to remember a nice tool where I could drag its pointer over the GUI of my running application and get lots of info about what was pointed at - handle, size, text, parent, children, etc IIRC, if the exe include debug info I could also get the actual variable name as used...

RhinoMocks and Heisenbugs

I've been using RhinoMocks lately but I keep running into an issue. If I break into the debugger and step over code while a mock is in Record mode, I end up getting an exception along the lines of: System.InvalidOperationException: Previous method 'SuchAndSuch.ToString();' requires a return value or an exception to throw. But if I ...

What are the most frequent Code Smells encountered and for which languages?

Possible Duplicate: What are Code Smells? What is the best way to correct them? We've all run across (as well as produced) "code smells". There are many kinds as documented here. What I'm interested in is what's the funk responsible for the funkiest code. It is difficult when writing code to maintain the perspective needed...

Where did my Visual Studio exception assistant go?

Since a couple of weeks the Visual Studio (2008 9.0.30729.1 SP) Exception Assistant has stopt appearing while debugging using the C# IDE. Instead the old ugly and useless debug dialog comes up: To make sure, I've checked the following: "Tools / Options / Debugging / General / Enable the exception assistant" is on. "Debug / Exception...

CSS problem with list elements in Chrome & Safarie (no problem in Firefox or IE)

I'm looking for suggestions for debugging... I'm kind of at a loss right now. If you view this site in Firefox or IE, it will look fine... check it in Safari or Google Chrome and the text contained within the list elements of the sliding panel does not display :( http://theatricalbellydance.com/home/ Any debug suggestions? here is my...