debugger

How to start Xcode debugger for a project without any executable?

I have a Xcode project that is building a library and I want to be able to debug the library when it is loaded by the main application. Run and Debug options from Run menu are disabled and if i try to use attach to process option I get "No launchable executable present at path". When looking at Active Executable I see but I don't know ...

Is there a DDD (Data Display Debugger) plugin for Eclipse?

Can I use DDD (Data Display Debugger) in Eclipse, either by configuring Eclipse or by using a plugin? If you want to know why, look at http://www.gnu.org/software/ddd/plots.png - a visual display of the contents of an array. Or, even better, IMO, http://www.gnu.org/software/ddd/all.png - see that top pane? A lifesaver for debugging li...

Unable to attach to created process with Visual Studio 2005

Hi all! I'm having problems attaching to a process spawned from one of my own processes. When I attempt to attach to the process using Visual Studio 2005 (Debug -> Attach to process) I receive the error message: "Unable to attach to the process. The system cannot find the file specified." In my program, I spawned the process that I lat...

Netbeans doesnt pick up Java classes in debugger

This is doing my head right in! I am messing about with JRuby trying to make some Java calls. Here is the source Im messing with. require 'java' module JavaLang include_package "java.lang" end module JavaSql include_package 'java.sql' end begin JavaLang::Class.forName("com.mysql.jdbc.Driver").newInstance jdbcconnection =...

ddd display long list

When tab or !ls in command window in ddd, there're always a long list to display in the command window. However, unlike other pager behavior, ddd will not stop and let you hit enter or something to continue the list, it just display the whole list straight to the end. I wonder is there any setting related to this to control this noisy be...

How do I let a program D read a memory location within the memory allocated to a program A?

So I'd like to let read D read this memory location and do some work on it. Any thoughts? Is writing a debugger extension the only way - if so, any recommendations? I considered executing a memory dump to file (still don't know how, AFAIK I can only view memory in a window) and letting D work on the file, but is there a better way? ...

How to save settings in gdb?

Hello, Does anyone know how to save gdb settings (like "set print pretty on" or "set print elements 0", both from here)? I don't want to set my configuration every time that I will use gdb :/ I searched in google and SO, but I found nothing. Thanks. ...

Exception Handling Dilemma

Working on existing code, I recently found smt like this: if(Config.ExceptionBehavior.DEBUG_EXCEPTIONS) { foo.Foo(); } else { try { foo.Foo(); } catch(Exception ex) { //whatever } } I am getting rid of this - but I do see some value in the driver of this kind of code: basically the guy who wrote this w...

How can I force Eclipse to produce always the same DEBUG_SESSION_ID GET parameter when debugging PDT project with Zend Debugger?

I'm using GWT as a front-end and PHP as a back-end in my application. I have those as two separate projects in Eclipse. My idea was to debug the application as a whole and I succeeded that. The problem is that I have to rewrite my ajax calls with Zend Debuger's parameters (DEBUG_SESSION_ID, START_DEBUG, DEBUG_PORT ...) every time I start...

Visual Studio no longer associated with application crashes

Hi, When I first installed Visual Studio 2008 on my machine, crashes from applications would present me with a dialog to debug the application in Visual Studio. This was perfect. Recently however my Visual Studio installation has become unassociated with application crashes. Instead I get a dialog which attempts to file the applicatio...

when and how to use windbg kernel debugging

I found Windbg is very useful during development and debugging. but mostly i use windbg in use mode debugging. What kernel debugging can do in windbg? or When should I use windbg's kernel debugging? Is there a toturial about kernel debugging in windbg? Thanks in advance. ...

Heeelp! Debugger says "out of scope"!

I just cannot imagine what the hell the problem could be. I made a pretty app, and decided to use only CALayers to "render". When I saw that the changes in the position property gets animated, decided to implement a custom getter-setter "abstract" property called tanCenter to set the position without animating. -(void) setTanCenter: (C...

Getting the type (x64 or x86) of a running process in vb.net macro code

I'm writing a macro to automate the process of attaching to the IIS worker process (w3wp.exe, Windows Server 2k8) from Visual Studio. The trouble is that I often two app pools running at any given time, one in x64 mode and one in x86 mode. This means there are two processes called w3wp.exe running at any given time, and the only way to d...

Debugger ignores errors in dynamically loaded DLLs

Hello. I have a very strange problem related to debugging of self-coded DLLs. I have an MFC-driven dialog-based application, several projects linked statically and several DLL-projects which are loaded at runtime. I build solution in debug, run the application and I can easily debug those DLL-projects. Now the problem. If there is some...

Breakpoints in XCode debugger

I don't understand what's going on with the XCode debugger. I am using Xcode 3.1.2 and GCC 4.0 on 10.5. Sometimes, Occasionally, I test a C++ program, all active breakpoints become disabled. No breakpoints are taken - the program runs to completion. The dark blue breakpoint icons change to light blue or yellow with a blue border. ...

Does VS2010 support multi-attach?

When I hit F5 to debug an application, there are usually more moving parts in terms of processes than the one process associaed with the project that is considered the "startup application". For example, a web application makes calls to another (isolated) web application that hosts WCF web services. Both apps are in the same solution, bo...

Is there a way to detect if a debugger is attached to a process from c#

I have a program that Process.Start()'s another program, and shuts it down after N seconds. Sometimes I choose to attach a debugger to the started program. In those cases, I don't want the process shut down after N seconds. I'd like the host program to detect if a debugger is attached or not, so it can choose to not shut it down. Cla...

Waiting for flash player to connect to debugger...

Using Flex Builder 3 : I have been getting this problem in every single debug launch for past few hours. I used to get this earlier too, but once in a while, not with every debug launch. I found out that flex debugger uses a certain 7395 port but I can't figure out how to change it? ...

IE8 javascript debugger is now broken

I am on Windows 7, using IE8 and Visual Studio 2005. I have been enjoying the built in javascript debugger in IE8 for several months. About 2 weeks ago, I installed some security update for IE 8 (possibly KB978207) and all of a sudden the javascript debugger is now broken. If I get a warning from IE 8 that an error occurred and asking ...

How to attach VC++ debugger (or gdb) in this situation?

I'm running a typical producer and consumer process, but they are executed by using pipe in the command line like the following: c:\>producer | consumer producer is just printing out data to stdout, and consumer reads from stdin. My problem is that I want to debug consumer process. What is the best way to do it in both VC++ and gdb? ...