debugger

How can I programatically call the ruby debugger from within a ruby program in Ruby 1.9?

I am writing a web based debugger for Ruby, but in order to do this I need to be able to call the Ruby debugger from within a Ruby program on the server side. Has this ever been done? Is this even possible? The end product being built will allow Ruby code to be edited, executed and stepped through using just a web browser. The ruby code...

How to debug programms written in fasm under linux using gdb?

I wrote simple "hello, world" in fasm, and its works, but how i can generate debug info for gdb and edb (Evan's Debugger)? Fasm compiler could only produce debugging symbols in its specific format - "fas", which of course gbd couldn't understood. ...

Can You Use MSVC 6.0's Debugger to 'Step Into' a Macro?

I am using MSVC 6.0 to call a macro in the Win32API and I'm getting an access violation. I know that the pointers I'm passing to the macro contain valid addresses, though they're evidently not pointing to the correct data. The macro accepts multiple pointers, and I'm not sure which pointer is erroneous, so I'd like to use MSVC's debugg...

Something wrong with my gdb or KDevelop IDE?

I have Ubuntu 9.04 and KDevelop IDE. When I am trying to debug C++ console app, it tells me: GDB cannot use the tty* or pty* devices. Check the settings on /dev/tty* and /dev/pty* As root you may need to "chmod ug+rw" tty* and pty* devices and/or add the user to the tty group using "usermod -G tty username". I installed gcc and gdb, and ...

Odd characters in memory

While I was running my debugger I decided to examine a specific spot in memory and noticed that there are some odd characters ¾㵎䐑톢హ��洓. Does anyone know what this is? ...

GDB debugger problems - No source file named...

For some reason I can't get gdb to recognize the files in my project when debugging. I've tried a variety of things, including downloading different version, etc. and the last thing I did was completely overwrite all of MingW with Twilight Dragon Media's Bundle Package. Does anyone know how to solve this issue? The odd thing was that wh...

What is a good Javascript debugging tool?

Haven't touch javascript for 3 years. Just got a javascript project and wanted to know any new ways or tools emerged these years to debug javascript? I used alert 3 years ago. I am using IE ...

Is there a tool for Visual Studio to track (or breakpoint) variable value?

Is there is a tool or a setting in the debugger to stop on the break point or if variable is set to a particular value? I mean if I know that value will be set to "HELLO" then the debugger will stop or do the same if it reached some break point in the loop? Any advise would be helpful! ...

Is there any assembly language debugger for OS X?

So i was wondering if there is any? I know afd on windows but not sure anything about mac? And this his how i am using nasam on the following code: nasm a.asm -o a.com -l a.lst [org 0x100] mov ax, 5 mov bx, 10 add ax, bx mov bx, 15 add ax, bx mov ax, 0x4c00 int 0x21 On windows i know a debugger name afd which help me to step through ...

XMLSpy 2009 Pro Debugger Won't Start

I'm using XMLSpy 2009 to write XSLT 1.0 documents. When I go to XSL -> Start Debugger, it opens the debugging view; however, when I click the Go (green arrow) button a message appears in the bottom of the screen that says "XSLT 1.0 Debugging Error: An error occurred while trying to start the debugger!" Any idea how to get around this? ...

How to make attach to process macro to attach to Native code?

I am using the following macro codeto attach to the debugger: process.Attach() Works, fine, but for some reasons it always attaches to the "Managed Code" (sort of default mode I guess) Is there any way to specify that I want to attach to a "Native code" too? ...

PHP: Understanding code via function or file tracing (without XDebug)

I have inherited a moderately large PHP codebase. In order to better understand how it works, I'd like to be able to print to logs a function or file trace whenever I hit a page, so I can correlate pages with source code. Are there any tools I can install? I have root on the server, and so have the ability to install anything as far a...

problem with quadTree & union

hi! i have the following quadtree-like structure, in which each cell can either be a inner node or a leaf. if it is a leaf, it can store a color. if it is a inner node, it stores pointers to four children (which can be either leaf or inner node): class RenderBucketCell{ public: RenderBucketCell(); RenderBucketCell(float R, floa...

How do I copy and paste an error message in Pharo?

Squeak was once innovative by giving people more than a dull error message: a debugger and go figure out! However, nowadays there's a google, and now it'd rock to copy paste the error message, which is typically served as the title of a debugger window. How can I copy and paste that error message? ...

"Unable to start debugging" message in VS 2008

I have this message when I start debug in VS 2008: Error while trying to run project: Unable to start debugging Because of this I cannot debug any programs any more. Any ideas what causes this? ...

Visual Studio fails to display some watched expressions

In Visual Studio, most of my objects and variables cannot be resolved during a debugging session for various reasons. This means I cannot inspect or watch objects or their invoke their functions making it extremely difficult to debug my code because most of my expressions simply won't work. Some typical errors I get when adding an expr...

Change DateTime in debugger

What the.... How do I change the value of a DateTime in the debugger? I can change it, but I get an error when leaving the edit field; it cannot parse it. Edit: VS 2008, C# ...

Why does my Visual Studio 2005 detach from the process when I start the debugger?

I'm using VS2005 to develop a web application. When I start debugging it will open the web page but the immediately detach from the process. I have found that if I close the IDE and start it back up it will work fine for a while but then start detaching again. Any insight into this odd behaviour would be greatly appreciated. ...

Debugger.Break on visual studio 2010

Hi everyone, I try to debug my windows service using Debugger.Break() on Visual Studio 2010 beta 2 Ultimate on Vista 64 bits. Nothing is happening when I execute my code... Someone have a idea ? Thanks in advance. Best regards ...

how to use C# debugger (or anything else) to examine what happens during a GUI event in an open source app?

imagine that you are given a big nice app in C#, with full source code. So you want to figure out what methods are executed when you do a user event, e.g. press a button or press a hotkey or whatever. The codebase is so big that you don't feel like looking for the relevant part of the code manually, e.g. tracking down the event handler f...