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 ...
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...
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...
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 =...
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...
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?
...
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.
...
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...
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...
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...
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.
...
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...
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...
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...
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. ...
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...
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...
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?
...
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 ...
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?
...