debugging

How do I debug a .net Fatal Execution Engine Error?

As a developer, I'm trying to setup a development environment on our brand new VMWare ESX server. Things are not working out: somewhere during the SharePoint Product & Technologies Configuration Wizard, the application just disappears, and in the event log I find the following error: .NET Runtime version 2.0.50727.3082 - Fatal Execution...

Debugging Ruby/Python/Groovy

I'm rephrasing this question because it was either too uninteresting or too incomprehensible. :) The original question came about because I'm making the transation from Java to Groovy, but the example could apply equally when transitioning to any of the higher-level languages (Ruby, Python, Groovy). Java is easy to debug because there ...

Delphi 2009 gives access violation error when integrated debugging is enabled.

I'm pretty much at my wits end at the moment. I am using Delphi 2009 (Update 3) on Vista (service pack 2) and without fail, if integrated debugging is enabled and I try to run a project, it will give an access violation and the project will crash out. This happens even if I haven't even added any code to the default project template. ...

How to debug the debugger of visual studio 2008 when debugging a multi threaded application ?

That's a hard title, let me explain what I mean, currently I'm programming a multi threaded application, and when I set a breakpoint in my code : Sometimes the breakpoint doesn't break, Sometimes the debugger can't evaluate variables, Every time, Step by step doesn't work as expected (it jumps anywhere) My multi thread app has 2 th...

What is a good unix alternative to DDD (Data Display Debugger)?

I am developing c on linux using vim and debugging using ddd. However I find that ddd performs very poorly at scrolling on this machine so its sometimes very frustrating to use. I like the way that ddd maps fairly closely to the gdb command set as this means I am free to use gdb commands when I choose, but using gdb itself is not an opt...

Go to previous line in gdb

Hi all, Is it possible in gdb to go to a line before the currently executing line. e.g: void my_fun( somePtrType** arr,int start,int end) { // arr is an array of pointers to somePtrType //line a ... some assignments swap( //line b (current line ) } I am at line b currently and can examine the arr values there but I want to go b...

iPhone SDK 3.0 and symbolicatecrash not getting along?

* UPDATE * I've reinstalled with Snow Leopard, clean install. Completely wiped my existing Leopard install. Same problem persists. I've tried numbers of versions of symbolicatecrash to resolve symbols in my crash reports. From the version provided by Apple, to Alan's Quatermain's version posted on GitHub and finally from http://openrada...

How can I detect if IE8 is running in compatibility view?

Is there anyway to determine if an IE8 browser has compatibility view switched on? I can't seem to find anything on Google, and so I'm wondering if this is a piece of information that is available... Why you ask!? I'm trying to track down a bug in our application. I'm piecing through the Elmah logs and there seems to be a trend; thi...

Debugging handling slightly different inputs

I am currently working on a Java compiler. In the context of the compiler, slightly different inputs may result in different output (e.g. adding final in Java permits compiler to perform more optimizations). In some other cases, different inputs may result into the same output (e.g. de-sugering some constructs - for-each loops). When ...

Spontaneous application execution abort in debug

A WPF application. Debugging. Stop on break point. After few seconds Visual Studio (2008) spontaneously aborts the application execution. It is never mind what I do after stop on break point: even if I do nothing. With very simple test WPF application everything is OK with debugging. Any ideas? ...

Debugging/Testing LPC code

Updating the object in the hosting driver will show any syntax errors, and any runtimes are logged in the appropriate way. I can inspect globals in the object and inherit using commands, but I'm at a loss when it comes to inspecting function-scoped variables and parameters, or stepping through functions and inspecting during the executio...

Adjust tokens on non-privileged accounts (C, Windows)

I'm using the following code (which is a sample from the MSDN slightly modified) to check whether i have debug privileges on a process. If I don't I try to set them. int SetDebugPriv() { HANDLE TokenHandle; LUID lpLuid; TOKEN_PRIVILEGES NewState; if(!OpenProcessToken(GetCurrentProcess(), TOKEN_ALL_ACCESS, &TokenHandle))...

How can I debug PHP in IIS?

I'm starting to move some sites to WordPress hosted in IIS7 using PHP 5.3 & FastCGI. I'm quickly finding that while the core of WordPress seems to work just fine out of the box, there are a number of plugins that have issues running in IIS and I'd like to be able to debug them, fix them, and submit patches. The only solution I've found ...

WinDbg not showing useful information

First let me say I am a total WinDbn noob, so this might be an easy question... I have an application ("MyApp" - name changed to protect the innocent!) that I am trying to debug because it is throwing an exception. This only happens on user machines - I have not been able to reproduce it on my development machine. So I set up Debug...

Stop debugger on current line of code being executed

So here I am trying to debug this issue where the program takes forever to run and I can't figure out where to put the breakpoint in code because there are 1 million events firing. Is there a way in visual studio to just stop on the current line of code being executed without setting a breakpoint? ...

VS2008 debugger behaving strangely for web application

On my work computer, debugging in Visual Studio 2008 (SP1) seems to work somewhat different from what I'm used to. I have two problems that might or might not be related. First problem: When I'm running a web application in debug mode, and an unhandled exception occurs, I get a Yellow Screen of Death immediately. Normally my code just ...

How do I see the guid while debugging VB code in VS2008?

On my last machine I had created a way to see a GUID variable while debugging by hovering over it. I don't remember what it was (a visualizer?). I have a new 64 bit machine with vs2008 - is there anyway to mouseover a guid value and have it appear? What makes guid's so special that their value doesn't show like most variables? ...

How to quickly and conveniently disable all console.log statements in my code?

Is there any way to turn off all console.log statements in my JavaScript code, for testing purposes? Thanks! ...

CPU Stuck at 100% on Customer PC, any debugging suggestions?

Hi all. I'm having a dead-end situation with one of the clients using my software. Out of about 40 copies of our product sold (Application programmed in .NET 2.0 using VB.NET 2005), about 2 get non-responsive with 1 core of the dual core CPUs stuck at 100% (program uses 1 core only) The most logical guess is an infinite loop causing th...

Debugging Zend Framework in Eclipse, mod_rewrite problems

I have a simple ZF that already works well. I've set it up to work in a subfolder, so I access it with localhost/zftutorial URL. Now the time came for debugging, but when I execute debugger in Eclipse, it appends debug URL params (like XDEBUG_SESSION_START=ECLIPSE_DBGP) which break everything and I start getting this message: > *Zend_C...