debugging

Jump into a Python Interactive Session mid-program?

Hey I was wondering... I am using the pydev with eclipse and I'm really enjoying the powerful debugging features, but I was wondering: Is it possible to set a breakpoint in eclipse and jump into the interactive python interpreter during execution? I think that would be pretty handy ;) edit: I want to emphasize that my goal is not to j...

How can i fix this debugging error.

hi, I have an executable built in windows(exe).I want to pass that exe to an out file built by Cygwin(DOS version). It is going well upto half the way. After that it is showing the following error,which is related to Cygwin dll files(ACL check) . Program received signal SIGSEGV, Segmentation fault. 0x6108829e in cygwin1!aclcheck () fro...

How to make the VS debugger do stack unwinding after breaking on uncaught exceptions?

I need this to make the finally blocks run /after the debugger breaks at the throw point/. BTW I know how to make it never break on an exception, but I don't want that. ...

Really odd (mod)_python problem

Hello all, this one is hard to explain! I am writing a python application to be ran through mod_python. At each request, the returned output differs, even though the logic is 'fixed'. I have two classes, classA and classB. Such that: class ClassA: def page(self, req): req.write("In classA page") objB = ClassB() ...

Can A VS plugin inject code into the compilation process?

I'm sort of conceptually designing a plug-in I'd love to have here. What I'd want is to be a able to tag line in my code (something like how breakpoints are added) and then get a trace log of when execution runs though them. Rather than set breakpoints (because they don't work outside the debugger), I'd rather that inside the compiler, t...

Trouble understanding Firephp

I don't get FirePhp FirePhp is an extension for the Firefox add-on Firebug. I don't get why this should be used at all. How can this tool give me more than your everyday PHP debugger? Seriously? I don't understand how to implement this, can someone please explain... video with narration perhaps? ...

NUnit isn't running Visual Studio 2010 code

I'm trying to load a Visual Studio 2010 beta dll into the NUnit GUI. I get a popup error. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. You may be attempting to load an assembly build with a later version of the CLR than the version under which NUnit is currently running. How do...

Debug some Python code

Edit: You can get the full source here: http://pastebin.com/m26693 Edit again: I added some highlights to the pastebin page. http://pastebin.com/m10f8d239 I'm probably going to regret asking such a long question, but I'm stumped with this bug and I could use some guidance. You're going to have to run this code (edit: not anymore. I cou...

Javscript debugging in Visual Studio

I have script debugging enabled in IE .. I have put the debugger keyword in the file and it gets caught too.. The debugger is already attached to the ie process and type is script .. When ie prompted "Would you like to debug" I pressed yes and choose Visual Studio 2008 (With my project opened) . When Visual Studio opens up, i get an ale...

Visual Studio 2008 - Disable .NET Framework debugging

A rather strange question I know... I was previously using the .NET framework source stepping option (tools>options>debugging>general) within Visual Studio 2008. Now although I have the option turned off, everytime I pause the debugger I start stepping into code I get taken into the .NET framework which takes an age to step back out of ...

Is there "Break on Exception" in IntelliJ?

Hi, Is there feature that will automatically break debugging on first exception occurrence? So we start application do something that throw exception got IntelliJ popped up highlighted line where exception occurred. ...

VisualStudio: no debug output

Hi, I'm trying to debug a C# application. The method: System.Diagnostics.Debug.WriteLine("something"); should do the work, but in the Output window (set to "debug" and with all the options activated) I can't see a single line I'm trying to write. Any idea? Thanks EDIT: I'm using VS2008 ...

Assignments failing

I'm debugging part of a large project in Visual Studio 2005, and stepping through the code line by line. int speed = this->values.speed; int ref = this->values.ref_speed; After stepping past the first line, values.speed has a value of 61, but for some reason, speed is getting assigned the value 58. After the second line, values.ref_s...

Debugging windows mobile DLLs attached to binaries stored in device ROM

I'm currently working on a soft-input-panel for windows mobile and have run into a bit of a snag. The compiled DLL (once deployed) is loaded by devices.exe which is stored in the windows mobile device's ROM. This is causing quite a nightmare as Visual Studio 2008 refuses to see the devices.exe process (using attach to process) making it ...

What is the best way to debug a crashing explorer.exe ?

I work for an orginization that has a custom built Access/SQL Application running in house. We have a problem Explorer.exe throwing an error and crashing. This is a picture of the crash: What is the best way to start tracking this problem down and finding a solution ? ...

Edit and Continue quit working for me at some point.

I've been developing an application in C# (using VS2008) for quite sometime now and about a week ago, 'Edit and Continue' has stopped working for me. I can edit the code while debugging, but any little change that I make to the code now forces me to stop the project and restart it. The message that I get is this: Modifying a 'method' wh...

What are the runtime debuggers available in AIX? for the C language?

What are the runtime debuggers available in AIX? for the C language? I know we have dbx - Crap gdb - Good but doesnt work. Any other? ...

What's the difference between compilation debug="false" and Release mode?

In ASP.NET, what's the difference between building a project with in the Web.config and with Release mode in the Configuration Manager? When would you use one and not the other? ...

Instrument java source files with System.out.println statements?

Hello, I am looking for an easy way (say, a single script/batch file or a simple program) to instrument a set of Java source files so that each method has an added System.out.println statement on entry and exit. I could not find such a utility. The reason I need this (and why it has to work on source files and not .class files) is that...

How can I insert a time string into a GDB log?

Hey Guys, I recently discovered that you can set breakpoints in Xcode that will print to the console and auto-continue -- meaning you can insert log statements without having to write NSLog() calls and recompile (on-the-fly logging, woot). Only problem is that it seems to be a little limited in what you can display when doing a log. It...