debugger

Watchpoints w/xDebug in Eclipse PDT?

Has anyone gotten watchpoints to work when debugging PHP with xDebug and Eclipse? The way I understand it, I'm supposed to be able to select a watched variable in the expressions view or select a variable in the Variables view during debugging, and then select Run->Toggle Watchpoint. But Toggle Watchpoint is constantly greyed out. All my...

How do you debug functions from includes in Erlang?

The implementation of ScrumJet on GitHub (as of this writing) shares essentially identical functions between the storage modules for tasks, categories and boards. This was achieved by moving the identical code which makes heavy use of the ?MODULE macro into scrumjet_datastore.hrl. Each of scrumjet_task.erl, scrumjet_category.erl and sc...

"Mono Debugger" not shown in MonoDevelop "Attach to Process" dialog

I'm running MonoDevelop 2.2 Beta 1 with Mono 2.4.2.3 on Ubuntu 9.04 x64. I've compiled it all from source (had to, since it's a beta version). I have both GDB and MDB debuggers installed. When I open a C# project I can start it in the debugger and stop at a breakpoint, so it looks like the MDB debugger is working. However, if I select Ru...

Flex Debugger wont launch - Only on particular project.

When trying to launch Flex debaugger on my project, it does not launch and I get an error instead. Every other project in different workspaces launches just fine. This is the only one giving me an issue. Here is the error: Process terminated without establishing connection to debugger. Command: "C:\Program Files\Adobe\Fl...

How can I qualify a .NET type with assembly name for Visual Studio debugger to disambiguate while using an ambiguous type?

I am using the VS debuggers 'Immediate Window' to call a static API on a class which is an ambiguous type defined in 2 different assemblies. The call fails with the following message: The type exists in both and This message makes sense since this is indeed the case. My question is how can I work around this in the debugger to speci...

How to persist custom objects between calls to a Visual Studio debugger visualizer?

I need to persist an object between calls to a debugger visualizer I'm writing, but it doesn't need to persist between IDE sessions. The EnvDTE.Globals object for the IDE seemed like an obvious place to store this object. If the type of the object being stored is already loaded in the IDE, e.g. a list of integers, I can successfully s...

Embeddable Debugger for C++

Does not need to be a full debugger but i need to get a good stack trace dump when an assert is raised. A simple list of called functions is not enough. I'm pretty happy with my Eiffel system which is giving me something like 17 frames in current stack. ===== Displaying only top 10 frames in run-time stack ===== agent call wrapper 2 ...

Visual Studio Debugger - decrease time to attach & load symbols

Generally speaking, what are your recommendations on this? Currently takes close to 10 minutes for me to attach to a locally running IIS process hosting SharePoint 2007. ...

Debug PHP with Eclipse?

What is the best way to debug PHP with Eclipse? Specifically, I'm trying to work through some issues on a Drupal 6 installation. I like Eclipse's debugging for Java. Is there a way to do the same for PHP? ...

Visual Studio Debugger can't view arrays after they have been passed to functions.

I have a function like this: MyFunction(double matrix[4][4]) {/*do stuff*/} I am calling this from an outer function (the otuer function is a member function of a class, in case that matters): OuterFunction() { double[4][4] x; initialize(x); //this function puts the data I want in the matrix MyFunction(x); } I am trying to debug th...

debugging Flex ActionScript singleton

When I am stepping through code in the Flex debugger, and enter my singleton class, "this" appears in the variables window but this cannot be expanded. How do you inspect the variables of "this". ...

How do I see the value of a DependencyProperty in WinDbg?

Using WinDbg and trying to debug a Silverlight application for memory leaks, I come across properties on my objects that are implemented as a DependencyProperty - and when I dump the object in the debugger (WinDbg) I can see the property - that is, I can see the actual static field. How do I see the actual value of the property? ...

Reading static variable from a binary

I am trying to read the value of a static variable in C like: int variable = value; The thing is that I only have the binary, and the code with a fake value (it is for a lecture, where we study security aspects of software development). I have been trying to read the value using the GDB, and (gdb)info variables which just gives m...

Silverlight Spy, FireBug type tool for Flex

Is there a debugging tool for Flex that functions like Silverlight spy or FireBug? ...

Building a primitive debugger in Visual C++

I'd like to build a primitive debugger in Visual C++ that does few basic things: 1) Attaches to a running process. 2) Sets breakpoints in the applications. 3) Reads register values. How involved is this, and where does one start? ...

Visual Studio does not break at exceptions in Form_Load Event

I recently updated my laptop from Vista 32bit with Visual Studio 2005/2008 installed to Windows 7 x64 with only Visual Studio 2008 installed. So I don't know if this is a "Windows 7" issue or just a configuration within visual studio. My problem is that exeptions in the Form_Load() event get swallowed without notifing me, which makes i...

Visual Studio 2010 script debugger doesn't work for me

I just installed VS 2010 Beta 2 and wanted to play with an ASP.NET MVC 2 project. I simply added some script (alert('hello');) into the Home controller's index.aspx view, and I can see it executing. When I try to set a breakpoint, however, it never gets hit. I also tried to use the "debugger" keyword, and when I do, I get a disappoint...

Visual Studio: How to attach a debugger dynamically to a specific process

I am building an internal dev tool to manage different processes commonly used in our development environment. The tool show the list the monitored processes, indicate their running state and allow to start or stop each process. I'd like to add the functionality of attaching a debugger to a monitored process from my tool instead of goin...

Why VM Debugger in Visual Studio 2008 throws "unable to detected startup project"?

Hello, I have a problem with VM-Debugger in Visual Studio 2008 (VMWare Workstation 6.5.3). Always when i try to Start the VM-debugging the debugger tells me the following: Error: Unable to detect the current startup project. I only have one startup-project but there are several other projects are in my solution. The debugger-log say...

How to help the debugger see my javascript, or how to best refactor my script to help make it debugger-friendly?

I have an ASP.NET MVC project that uses some simple AJAX functionality through jQuery's $.get method like so: $.get(myUrl, null, function(result) { $('#myselector').html(result); }); The amount of content is relatively low here -- usually a single div with a short blurb of text. Sometimes, however, I am also injecting some javasc...