debugging

Debugging an llvm pass with gdb

Is it possible to debug an llvm pass using gdb? I couldn't find any docs on the llvm site. ...

set up a data trigger on physical address

Hi, Do you know any device out there can set up a data trigger on a physical address in MIPS ? I am using FS2 but It can only set up a trigger on virtual address. ...

How to permit debugging on dependency AS2 SWF files?

I have a SWF that I wish to debug on with the flash debugger. I have the debug flash player and the 'Debugger' context menu option is greyed out. If I check the 'Permit debugging' option in the SWF publish settings, this does not become enabled. My hunch is that this is down to the fact that my SWF is being loaded by another parent SWF....

ddd debugger enters an infinite loop when the program tries to read console input.

when a C++ program reads from cin, the ddd provides it with "1" instead of letting me type the input in its console. Since the program reads interactive commands, "1" is an invalid command and ddd seems to have an infinite supply of them, the result is an infinite loop of "invalid command" output. Have anybody encountered such behavior ...

Why do I get no line numbers from a stack trace created from Exceptions?

Okay; assuming this code running in debug mode - static StackFrame GetTopFrameWithLineNumber(Exception e) { StackTrace trace = new StackTrace(e); foreach (StackFrame frame in trace.GetFrames()) { if (frame.GetFileLineNumber() != 0) { return frame; } } return null; } I'm ALWAYS re...

CDT, SCons, and debug with attach

Hello, I am new to development in Eclipse/CDT, and not very experienced with gcc/gdb. My project (a shared library) is built in Eclipse by using SCons. The generated .so is at the end of the SCons script copied to an other place (maybe it's an important point). My application is so a plug-in that the user must load in the host applica...

Rack-Bug panels won't appear in my Rails app

I've installed Rack-Bug for my Rails app, but can't get the panels to appear. project: http://github.com/brynary/rack-bug additional instructions: http://wiki.github.com/brynary/rack-bug/security yet more instructions: http://stackoverflow.com/questions/1912983/rack-bug-installation-issue-server-does-not-start (the docs really suck for ...

Setting a breakpoint on a member function called on a specific object

In gdb, is it possible to set a breakpoint on a member function called on a specific object? To be more specific, imagine class A has a member function Foo(). I'd like the program to stop when Foo is called on a specific object of type A (0xFF11DEADBEAF for example). Is this at all possible? ...

Is there a way to make executionTimeout take effect while debugging?

I would like to debug a website, but also cause the httpRuntime executionTimeout setting to take effect. However, the documentation says: This time-out applies only if the debug attribute in the compilation element is False. Is there any way to enable executionTimeout when debug="True"? ...

IE/jquery compatibility, dynamically populating a select field

Hi, Not sure where to even start on this one... I have a function that takes a select input field ID and populates it with an array of options. function populateSelect(selectId, options){ options = options.split(';'); selectId.find('option').remove().end(); $.each(options, function(i, option){ option = option.split...

Cannot get submit button to POST or Autocomplete to fill

Hi, my application updated some of the framework as well as jquery and now doesn't work. I'm not sure what to do since I'm not getting useful information back to debug. Here's what I am looking for: GIVEN: I am on the selected page with a text field and submit button WHEN: I type a few letters in the textbox THEN: I want Autocomple...

Starting eclipse in Tomcat - Debug Mode - Timeout Error

I get the following timeout error when trying to start tomcat in eclipse. Timeout waiting for Tomcat v5.5 Server at localhost to start. Server did not start after 45s. Does anyone know hot to set the tomcat timeout? ...

Why is my Debug.Write broken?

Can somebody explain why my Debug.Write stops working for no apparent reason - no output is visible? This has happened to me many times in Visual Studio 2008 (never on 2005), on both Windows XP, Windows 2003 Server and Windows 7. It is per project and at the same time (on Windows 2003 server), I have projects where Debug.Write works an...

Show Previous Statement while debugging with Visual Studio 2008

Is it possible to the show the previous statement in the method that I'm debugging with Visual Studio 2008? What I'm currently doing is dragging the yellow arrowhead to the previous statement location or scrolling there and then pressing Ctrl+Shift+F10 But with some large methods the current statement might be quite a few lines upwards...

Set Debugger Language Exception (to ignore) in Build Configuration

In Tools | Options | Debugger Options | Language Exceptions it's possible to ignore specific Exception types. Is it possible to do define this per project? Eg in the Debug Build Configuration (Delphi 2009 and/or 2010)? /Edit: Reported in QC ...

Post-mortem crash-dump debugging without having the exact version of a Windows DLL in the Symbol Server

Within my application, I use the MiniDumpWriteDump function (see dbghelp.dll) to write a crash dump file whenever my application crashes. I also use a symbol server to store all my executables and pdb files, so that whenever a customer sends me a crash-dump file, the debugger automatically picks up the correct version of the executable ...

Debugging Framework Code in Visual Studio

Is this post (http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx) still the preferred method for debugging framework code from visual studio? Or has anything changed? ...

NSObjCMessageLoggingEnabled tracing for iPhone Device

Hi, I googled many results to make NSObjCMessageLoggingEnabled work with iPhone. But it seem it works only on the simulator. Can NSObjCMessageLoggingEnabled track also the objc_msgSend of iPhone device? And how please? Thank you ...

VS2008 attaching a debugger (C++) to handle assert(...)

This is related to regular assert(...) There are two scenarios that I'm interested to improve in my code. 1) a debug build app is started regularly, if there is an assertion I'm getting "Debug assertion failed" dialog box with "Abort", "Retry", "Ignore". Abort and Ignore answers are working fine. The problem with Retry. If I hit retry I'...

How to debug scripts in Firebug?

Hello, I could never view a script correctly in Firebug,every one of them is displayed in one line.Like shown on the image below: How do I view it correctly so I could debug it? Thank you in advance! ...