debugger

IntelliJ debugger makes new JFrame() break Windows Vista Java

My app works fine with Java 1.6 when I run it command line. However, when I run it under the debugger in IntelliJ IDEA community edition 9, when it gets to the line new JFrame(); the Vista reports the JVM fails with the message: Java(TM) Platform SE binary has stopped working A problem caused the program to stop working correctly....

switching of debugger

I am using Delphi to create a program and need help with turning of the Delphi debugger. I create some code as follows: try ... ... ... except ... unfortunately before moving to the except code the debugger kicks in with a un-user friendly message. How can switch it off and move directly to the except code? ...

Why aren't students taught to use a debugger?

There's a lot of homework questions here on SO. I would guess that 90%+ can be solved by stepping through the code in a debugger, and observing program/variable state. I was never taught to use a debugger. I simply printed and read the GDB manual and stepped through their examples. When I used Visual Studio for the first time, I reme...

Out of Memory errors - tool for finding classic ASP memory leaks?

I am getting Out of Memory errors in classic ASP, probably where attempting to access data. For example: Microsoft VBScript compilation error '800a03e9' Out of memory (some file) Line 0 These errors only happen once in a while and they keep happening for a few minutes and then the webserver must be restarting the app pool because al...

Is it possible to call the JIT debugger window from a c# program ?

Hello, I was wondering if it was possible via a line of code in C# program to interrupt the execution of the program and make appear the window which allows you to select a debugger to start debugging. Anthony ...

cannt set my xampp to work with any php debugger

hi, i have been trying to set my XAMPP to work with xdebug php debugger, i have edited the php.ini file with the following parameters: zend_extension_ts="C:\Program Files\Development\xampp\php\ext/php_xdebug-2.0.5-5.2.dll" xdebug.remote_enable=On xdebug.remote_host="localhost" xdebug.remote_port=9000 xdebug.remote_handler=dbgp after ...

Can the VC++ debugger evaluate and show _declspec properties?

If I have a "fake" Visual C++ property: int _declspec( property( get = GetFoo ) ) Foo; int GetFoo() const { ... } Is there any way to get the debugger to evaluate this and display it as a normal member variable in the QuickWatch window? ...

How to attach a debugger to WAS?

Hi all, I need to attach a debugger to a remote instance of WAS and know that debugging is enabled. The problem is getting WID or whatever IDE I wanted connected to the server so I can step through the code. I tried using Netbeans to connect and I get handshake failed, connection interrupted. The debugger is listening on port 7777. ...

Force Visual Studio 2008 debugger to release executable file

I find myself in the annoying situation where the visual studio debugger does not cleanly release itself once the debugging session is finished. Hence, devenv.exe retains a lock on the executable file and I cannot rebuild the project due to the dreaded error: Error 1 Unable to copy file "obj\Debug\program.exe" to "bin\Debug\program.ex...

Looking for a nice linux program debugger

I have been compiling my programs using GCC via the terminal, and im looking for a debugger with more detail thanks ...

System.TimeSpan creating debugging problems? (Cannot evaluate expression because a thread is stopped at a point...)

Using System.TimeSpan in a C# application, with WPF. TimeSpan is an argument in a method call. SixDOFPosition GetPositionForTimeCount(TimeSpan timeCount) Using VS 2009, this error is displayed in the debugger when trying to look at the value of timeCount: Cannot evaluate expression because a thread is stopped at a point where ...

Unable to get Netbeans debugger working for python.

Ubuntu 9.10 Netbeans 6.7.1 Whenever I start the debugger it crashes out with the error below. I've set the project properties to the correct version of python, although it doesn't seem to make any difference what it is set to. I've also noticed that the PythonConsole window reports that Python 2.5.0+ is running regardless of the versi...

toString() unavailable error in Eclipse debugger

While stepping through a method using the Eclipse debugger, I started seeing "toString() unavailable - no suspended threads" for all the variables I wanted to inspect. Why did I get that error, and what should I do next to narrow down the problem in my code? edit My code does create a new process, but the variables I wanted to examine ...

Remote Debugging and Memory Profiling in PHP

Two Questions How can I debug PHP code remotely which is lying on the server, currently I am using var_dump's to check the value of variables ? How can I see how much memory and how much time particular function is taking to execute remotely which is lying on the server, any suggestion for good profiler for this ? Note: I am talking...

Launching Eclipse as a debugger

What’s the equivalent of System.Diagnostics.Debugger.Break(); in the Java world? Purpose: I have a tomcat based webapp launched by a custom build tool and need to debug the application in eclipse. In the .net world the above statement when encountered will prompt the OS to attach a debugger and I can attach Visual Studio to deb...

Why does the XCode debugger output not match what I expect, when interrogating UIButton values?

This screenshot explains it all: The screenshot shows the debugger reporting buttonType as 2 but the console showing button type = 0. The same variable is being shown in the debugger and the console. Any idea how this mismatch happens? (gdb) po ((UIButton *)control).buttonType There is no member named buttonType. As requested:...

iPhone: assert just terminates the program

Hi all, I'm debugging a heavily assert()'ed iPhone app (Xcode, Objective C++, device simulator). In some cases, the assert failure would just terminate the app, instead of breaking into the debugger as I'd expect. I made a workaround by implementing my own kinda-assert to the effect of: #define AssertLite(b) if(!(b)) {asm {int 3}} (f...

What does "Couldn't raise load state for requested shlib:..." means?

I get this message on the debugger console, but the application seems work. The full console below. [Session started at 2010-01-05 20:17:29 +0100.] Warning - No location found for "BGTangramLevel.m:1" Warning - No location found for "BGTangramClues.m:1080" Warning - No location found for "BGTanRender.m:143" Warning - No location found f...

Xcode Debugger - how to single step at level of CPU instructions

This is definitely obsessive, but I am fascinated by how cleverly the compiler translates C code into machine instructions. Since I am a little fuzzy on some instructions, it would be helpful if I could watch the operation of a compiled program at the level of individual machine instructions - "below" the level of a C statement (which ...

Debugging x86 .NET application on Windows x64

I use the x64 version of Windows 7. My application use some COM servers (usual native x86 COM Servers) that can't be loaded in x64 context. So I decided run it as a x86 application using WOW so I set platform target as x86. But Visual Studio debugger started to show messages like "The source file is different...." for all source files w...