debugger

Python (pdb) - Queueing up commands to execute

I am implementing a "breakpoint" system for use in my Python development that will allow me to call a function that, in essence, calls pdb.set_trace(); Some of the functionality that I would like to implement requires me to control pdb from code while I am within a set_trace context. Example: disableList = [] def breakpoint(name=None)...

How do you debug a windows service that is being installed?

I know how to attach a debugger to a windows service, but I can't seem to get attached to one that's being installed and started by a windows installer. I've tried: Setting a Thread.Sleep(TimeSpan.FromSeconds(30)); at the beginning of the on-start, but when I try to attach in Visual Studio, the name of the service does not appear as an...

How do I make VC++'s debugger break on exceptions?

I'm trying to debug a problem in a DLL written in C that keeps causing access violations. I'm using Visual C++ 2008, but the code is straight C. I'm used to Delphi, where if an exception occurs while running under the debugger, the program will immediately break to the debugger and it will give you a chance to examine the program state...

Recommend a remote java debugger for slow connections

I tried to find some debugger capable of beeing used on slow networks, like those established via VPN connections. I ended up with doing ssh and starting jdb on remote server. Using IDE debugger in this case (like Eclipse or JSwat) ended up with hangs and timeouts. I think it was because those debuggers register to too much events. Ho...

Netbeans: How do I break on a NullPointerException?

Hi When debugging a java program in netbeans, I want the debugger to stop on the line that causes a NullPointerException so I can examine the variables there. I believe I have to use a condition on the breakpoint set at that line, but what is the syntax of the condition? thanks for the help ...

How to debug a tcl script which is argument to an executable?

I have a application which takes tcl script as argument. I want to debug tcl script when the application processes it. My development environment consists of Dynamic Languages Toolkit along with Active state remote debugger -dbgp_tcldebug. I am able to debug the individual tcl scripts with this setup. I created a tcl project in eclips...

DLL response is too slow in Visual Studio [Resolved]

I use a 3rd party DLL in my VB.NET project (VS2005) that responds to slow and give wrong values in debug mode. In run-time mode everything works as expected. I do understand that there are something going on in the debug mode which makes the DLL communication slow. This behavior makes it hard to debug the application correctly. Is ther...

IDEA: Conditional breakpoint not to be hit in specified call context

Is there a way to put a conditional breakpoint which won't be hit when the method the breakpoint is in is called from other specified method? (I'm using IDEA 9.0.1) ...

XDebugClient won't inspect function scope

Hi, I am trying to debug my PHP script. To do so, I use a Windows GUI called "XDebugClient". It's a little clunky but I've been able to manage so far, given that to date I only have a collection of very noddy little PHP scripts. On the global level, I can inspect all variables and it works just fine. Yesterday, I wrote my first PHP f...

Windows Kernel Debugger API?...accessing strings

Hi! Does everyone out there knows how can you read windows kernel debugger strings generated by calls to kdPrint or debugPrint functions? Reading in user mode especially but it is also good in kernel mode! It's the same thing as DebugView does but I want to filter and to work only with certain messages (strings) given to the debugger!...

Can't set breakpoints on an auto-property setter ? Why?

Apparently VS 2008 does not allow setting a breakpoint just on the setter of an auto-property. I.e. if I define an auto-property like this: public int CurrentFramesize { get; protected set; } and then try to set a breakpoint on the setter line, the whole auto-property turns breakpoint-red. This works j...

C# - null vs "Could not evaluate expression"

I have code like this: private Box mCurBox; public Box CurBox { get { return mCurBox; } set { if (mCurBox != value) { mCurBox = value; } } } When mCurBox is null then CurBox the debugger says "Could not be evaluated". If it knows tha...

How to write a virtual conditional breakpoint in java

I'm sorry if the question title may mis-inform you, but I cannot find a proper word to explain that. If you ever working with .NET, you would know that there is Assert class that will automatically wake up and attach debugger if necessary and then have debugger (Visual Studio) pausing at the Assert command, given the Assert command fail...

javascript interactiveshell with intellisense for extension development ?

For extension development, is there a javascript interactive shell , that has intellisense (shows what methods and properties an object has) ? Or is it possible to do this with the debugger that supports intellisense (maybe VS2008/intellij idea 9 ) ? ...

Is there a Visual Studio debugger visualizer for the ASP.NET Session?

If so; where can I get it? ...

Run VS.NET 2008 Web Application With Non-Default Browser

I have Firefox set as my default browser, but I want to debug the ASP.NET Web Application with IE. Searching SO only shows replies to "Browse with ..." However, this doesn't start the debugger. How would I do this? I remember in an old Visual Studio setting the browser to start with the debugger, but I don't remember how - and where it i...

How to use the debugger with nested static libraries in XCode?

Hi all, A project that I've inherited has the following structure: Project A produces a static library. Project B produces a static library and links with library A. Project C produces the executable and links with library B. When I run app in debug mode, I can successfully debug code within the executable (project C) and the static...

What's a good open-source debugger & memory analyzer for Windows?

In a Unix world I've been happily using gdb for debugging and valgrind for memory analyzation. Are there open-source quality alternatives for Windows? I'm looking for lightweight pieces of software that do what you need, and never get in your way (just like gdb and valgrind). ...

C# - foreach showing strange behavior / for working with no problem

Hi there. Today I coded a function that uses two nested foreach loops. After seeing, that it did not work like expected, i debugged it. But I dont see an error, and dont think a simple error can cause the behavior i have noticed. The part looks like this: foreach(MyClass cItem in checkedListBoxItemList.Items) { foreach(MyClass cActi...

VC++ Debugger expression

In debug | Immediate window, why do i get this error: szTemp is a local variable at {,,Util.dll}MySock.Write("%s",szTemp) CXX0017: Error: symbol "szTemp" not found int SomeFunction( ..) { char* szTemp = new char[1024]; . . ---> Breakpoint.. Trying to run the expression here.. . . } ...