debugger

System.Diagnostics.Debugger.Debug() stopped working

I'm working on a program which uses the System.Diagnostics.Debugger.Break() method to allow the user to set a breakpoint from the command-line. This has worked fine for many weeks now. However, when I was working on fixing a unit test today, I tried to use the debug switch from the command-line, and it didn't work. Here's what I've tr...

How to use Firebug's debugger functions?

I don't have an experience with any debugger in any language, but I recently found some videos showing Firebug. I'm now playing with Firebug with a script I included an error with. What I understand now is: I can set a breakpoint, which is shown as a red circle. Firebug stops at the breakpoint and gives me 4 options (Continue, Step I...

Display WCHAR Strings in Xcode Debugger

I'd like to preview WCHAR strings in the variable display of the Xcode 3.2 debugger. Bascially if I have WCHAR wtext[128]; wcscpy(wtext, L"Hello World"); I'd like to see "Hello World" for wtext when tracing into the function. ...

A debugger for IronPython

Is there a good debugger for IronPython? ...

Writing an Iron Python debugger

As a learning exercise I'm writing myself a simple extension / plugin / macro framework using IronPython - I've gotten the basics working but I'd like to add some basic debugging support to make my script editor easier to work with. I've been hunting around on the internet a bit and I've found a couple of good resources on writing manag...

Set next instruction in NetBeans IDE

Does NetBeans have something akin to "Set Next Statement/Instruction" when debugging in Java? ...

What do I put in my Ruby (JRuby) code to break into the debugger?

I'm familiarizing myself with some JRuby code, and I'd like to be able to place a breakpoint in the code and run (as usual) from the command-line, having it break into the debugger when it gets to that point. Is there something I can put in my code to force JRuby to break into the debugger? I've tried running jruby -r debug foo.rb (ins...

"Replay" the steps needed to recreate an error

I am going to create a typical business application that will be used by a few hundred consultants. Normally, the consultants would be presented with an error message with a standard text. As the application will be a complicated one with lots of changes being made to it constantly I would like the following: When an error message is pr...

Where to learn about VS debugger 'magic names'

If you've ever used Reflector, you probably noticed that the C# compiler generates types, methods, fields, and local variables, that deserve 'special' display by the debugger. For instance, local variables beginning with 'CS$' are not displayed to the user. There are other special naming conventions for closure types of anonymous methods...

Xcode debugger warning: Couldn't find minimal bounds for "_sigtramp" - backtraces may be unreliable

What does this means? Seems to appear in the console occasionally when I run with breakpoints on in the debugger. warning: Couldn't find minimal bounds for "_sigtramp" - backtraces may be unreliable ...

How do I turn off "Automatically Switch to Debug Perspective" mode in eclipse?

Is there a way to turn off this mode? I must have clicked it on accident, and now it's getting really annoying. I've looked in the preferences and perspectives pane, but didn't see anything. Does anyone know where this option is configured? ...

Python's IDLE for Java

Question: IS there and IDE like python's IDLE for other languages? specifically I'd like one for java, but any programing just feels so much nicer with a debug system like IDLE's. Info: The main feature I'm getting at is the ability to test programs. In IDLE I can have the editor for my class in one window, i save and run it then ID...

Is there a disassembler + debugger for java (ala OllyDbg / SoftICE for assembler)?

Is there a utility similar to OllyDbg / SoftICE for java? I.e. execute class (from jar / with class path) and, without source code, show the disassembly of the intermediate code with ability to step through / step over / search for references / edit specific intermediate code in memory / apply edit to file... If not, is it even possible...

How test a Delphi app with Application Verifier 4.0?

I download the Application Verifier 4.0 to test my App for check if could have problems on Vista/7. I run from Delphi 2010 debugger, and stop in CPU view. Obviously, I don't understand anything about assembler!. So, I try running directly from the windows explorer, and the App die. (In fact, I don't understand well what exactly will d...

How to know in Xcode how much memory occupied by my object graph?

I have one big object graph. It begins from one root object and its properties are arrays which consist of other objects and so on. I want to know how much memory is eating by this graph at all. Have Xcode any instrument that will show me this information by root object (maybe something like tree of all my objects)? Or maybe it is poss...

How to put a breakpoint at the end of a function in windbg, so that I dont need to edit it even if some lines have been added/deleted in the source?

I need to log some data when some functions are hit, both at the start of execution and and the end of it. While i have no problem with putting breakpoints at the start of the functions(using bu [module]!functionname, I dont know how to put a breakpoint at the end of a function, SUCH THAT i dont need to edit the breakpoint everytime i ad...

How do I redirect output from the Visual Studio debugger?

In Visual Studio 2008, I can specify a message to be printed when a breakpoint is hit (by right-clicking the breakpoint and choosing 'When Hit...'). When the program is run, these messages appear in the Output Window. I would like to know, is there any way to redirect them to a file? Specifying >file.txt as a command argument to the pro...

Configure the visual studio debugger for try-catch statements

VS 2005 For example, My employees gave me a project with about X try-*catch* statements. X > 100 .. 300 I need to test a project. Is there a way to mark each (every) beginning of catch as a breakpoint ? I don't want to do it manually. Maybe there is some settings that fit to me ? ...

Overrided ToString doesn't show in debug

I have a collection similar to: Public Class MyCollection Inherits ObservableCollection(Of MyCollection) Private _Name As String Public Property Name() As String Get Return _Name End Get Set(ByVal value As String) _Name = value End Set End Property Public Ove...

Is there a 'drop to frame' command in the Ruby debugger

The Java debugger has a command called 'drop to frame' that takes you back to the beginning of the current method, resetting the stack as if you had just entered the method call. Static or instance variables won't be reset, but it's still pretty useful for when you stepped over a line and want to try it again. Is there the equivalent in ...