debugger

Why can't I step into/over Java source code in NetBeans Debugger?

I have a Java project which I am debugging in NetBeans (versions 6.8 and 6.9) and I am unable to step into or step over the code. I can only set breakpoints and then continue to the breakpoints. This is not very convenient. I'd like to be able to step through the code without setting breakpoints everywhere and running to them. I am a...

Why does Perl's quotemeta() function behave differently when under the debugger?

I am bitten by this little inconsistent debugger behavior. The quotemeta() function seems to behave differently when invoke under perl -d $ perl -e 'print quotemeta("/a/b/c"),"\n"' Output is \/a\/b\/c, which is correct and as documented in perldoc -f quotemeta. Now, when under debugger, the output becomes \\/a\\/b\\/c. I thought some ...

How to fix pdb in Aquamacs on Mac OS X?

I'm developing a django app using aquamacs as my ide. Pdb isn't working since upgrading to emacs 23.2.1 using python 2.6.1. When I invoke pdb like this: M-x pdb Run pdb (like this): pdb ./manage.py runserver The gud-manage.py frame appears with this message (and nothing more) - Current directory is /path/to/my/source/ It isn't resp...

Avoid stepping into c++ std header files in Visual Studio 2008 Debugger

Possible Duplicate: Is there a way to automatically avoiding stepping into certain functions in Visual Studio? Good Morning, I'm looking for a way to tell the debugger to avoid stepping into some header files that are of no interest to me when debugging my code. Example: When I have a std::string as a parameter of a function...

Debugger stops working and stops showing active processes

I am trying to debug a web app, and am having some rather odd issues with VS. First thing I do is attach to the w3wp process and set break points in code that DOES execute. The thing is, none of the break points are hit. Thinking that I must have done something wrong, I stopped the debugger and when I went to reattach, only 6 of my 54...

XCode view c++ class member in debugger?

Hello, I just can't see c++ class member value while I moved mouse on it. For locally variables it works fine, and off course I can see class member values in Debugger (separated window) but it's not so comfortable. This problem wasn't in xcode 3.0 version... (only >3.0) P.S. I am sure that I am on Debug not Release project. ...

printf not printing to xcode debugger when format string is involved (in a plugin environment)

Hi, I have a pretty obscure problem here. I'm writing a photoshop plugin (for mac) using Xcode. I use printf statements for simple debugging. A printf without a format string works fine, however, if I use a format string to try and print out a value it does not show up in xcode's debugger console. #include <stdio.h> DLLExport ...

make code atomic for debugger

Hello is there any way to make code for studio debugger atomic? e.g. #magic(atomarize) :D for(int i=0;i<100;++i) { //actions } // other statements so when debugger comes to the for statement, it doesn't show how it's executed (it executes internally) and at once goes to the other statement ...

IE8 debugging ASCX component doesn't show correct location in javascript code when it stops

I have an ASCX component that has a lot of javascript declared in a script tag in the ascx itself. I can set breakpoints, and the debugger stops as it should, but the text that is highlighted in the debugger as the "current line" is nowhere near the actual javascript (it is much higher in the rendered file than it should be). I can "wi...

exec code in original local scope of frame

I've written a remote Python debugger and one of the features I need is to execute arbitrary code while stopped at a breakpoint. My debugger uses the following to execute code received from the remote debugger: exec (compile(code, '<string>', 'single') , frame.f_globals, frame.f_locals) This works fine for the most part, but I've noti...

Why does my debugger sometimes freak out and do things like not line up with my code?

When I'm using my debugger (in my particular case, it was QT Creator together with GDB that inspired this) on my C++ code, sometimes even after calling make clean followed by make the debugger seems to freak out. Sometimes it will seem to be lined up with another piece of code's line numbers, and will jump around. Sometimes this is is o...

Notepad++ does not have debugging capability or any debugging plug-in - is this true?

For those who code in Notepad++, I just want to confirm that Notepad++ does not have any built-in debugging function (i.e. ability to set breakpoints, step one by one and look at values in the middle of execution). I'm new to PHP coding and am looking for a good editor/IDE to use. Since I would like a debugging function, your answer wo...

Anyone know how to make the eclipse cdt debugger ... work

I have noticed alot of buggy behavior and problems when attempting to debug within the eclipse cdt using the MinGW GCC toolchain. Whenever I try to step along in my program in the debugger, it usually walks along fine but then pulls up a screen with red text saying No source available for "ntdll!DbgUiConnectToDbg() at 0x7c90120f". The ...

iPhone -- is it possible to inspect the frame of a UIView in the Xcode debugger?

When the debugger is stopped at a breakpoint, I can't find the frame of any of my UIViews in there. Is it possible to do this? EDIT: starting a bounty due to the lack of response. Just to be clear, what I am looking for is a way to see the frame without adding in extra debugging code. Also, if the answer is "no you can't do it", boun...

Documentation on Virt-ICE other than white paper

I am trying to find information on Virt-ICE, a malware debugger/analysis tool presented at the most recent Black Hat conference. I have read through the white paper Virt-ICE: Next-generation Debugger for Malware Analysis and am now looking for something more. It sounds fascinating and I would love to dig deeper. Here is what I have foun...

How can I view the values inside an object in the Xcode debugger?

I know that might sound like a stupid question since it's a trivial feature in most modern IDEs, but I'm diving into iOS development and am getting familiar with the platform and SDK and I can't figure this out. I have a ton of experience with MS Visual Studio and I see that Xcode works very much the same, tho it's still lacking quite a...

what can cause pdb.set_trace() to be ignored?

I'm trying to debug a Python program and I inserted a classic 'import pdb;pdb.set_trace()' line in a function, just before a call which generates a stack trace. However that call seems to be ignored, i.e. nothing happens and I don't get a pdb prompt. At that point of the program, there is only one active thread. No monkey patching of t...

Does .NET code run slower with the CLR debugger attached to the process?

Pretty much what the title says: I'm running a long program, and it has the CLR debugger attached, so I can catch and inspect exceptions. Am I getting performance comparable to running it without the debugger, or is there a serious (2-10x or more) penalty I'm paying? ...

Can I get Python debugger pdb to output with Color?

I'm using PDB a lot and it seems it would be even better if I could add systax highlighting in color. Ideally, I'd like to have to the path to the code a lighter color. The line of actual code would be syntax highlighted. I'm using OS X and the Terminal app. Python 2.7 ...

Visual Studio 2010 Debugger

I'm having some problems (as some of you will see from another question I asked) with getting a program I made in Visual Studio 2010 to run on another computer. My computer is Windows 7 x64 The destination computer is Windows XP x86 (SP2) I've already checked to see that I'm compiling for x86. Anyway, my question is: Is there a debugge...