debugging

Remote Debugging for .NET WPF Application via Visual Studio 2008 Remote Debugger ?

Remote Debugging for .NET WPF Application via Visual Studio 2008 Remote Debugger can this be done ? I see native only in the options ? Any help please... ...

Debugging any entry point.

I'm working with a BasePageClass that derives from System.Web.UI.Page. What I'd like to do is somehow set a break point for every single time a method or property on this page is accessed. The only way I know how to do this is set up a breakpoint on every property and method on the page. This just doesn't seem practical. Does anybody...

Colors in debug console

Looking at this LINQ demo: LINQ Framework Overview When going in debug mode, the output have colors in it. I'm using the same ObjectDumper class and I only have the black/white console window. How can I have the same results in the console window? Thanks ...

How do you set the current directory of a debugged process?

I have an application that is sensitive to the directory it gets invoked from — it loads some files using relative paths. When I start the program through a debugger, how can I control what the initial current directory will be? I'd prefer to avoid adding special code to the debugged program to make it call chdir; my instinct is that t...

IDE for Pl/SQL development

Is there any free IDE for Pl/SQL development ...

Can I set Visual Stdio 2005 to ignore assertions in a specific region of code while debugging....

Aaargh! OK, here's the scenario. I'm debugging my own app (C/C++) which is using some library developed by another team in the company. An assertion fails when my code generates some edge case. Its a pain because the assertion is not formulated correctly so the library function is working OK but I get all these interruptions where I jus...

How to stop stepping into .NET source code using TestDriven.NET?

I just started using TestDriven.NET to debug on my tests, here is my setup TestDriven.NET 2.17 VS 2008 SP1 Windows XP The problem I run into is on exception it keeps stepping into the .NET Framework source code. I checked Tools > Options > Debugging and "Enable .NET Framework source stepping" is not checked and "Enable Just My Code...

Debugging an exception in a Cocoa app

I am working on an app with an NSTextView. When I paste random bytes into it (say, from a compiled C program) it displays gibberish, as it should. However, when I -setShowsControlCharacters:YES, the same causes a crash and gives the following error multiple times: 2008-11-22 00:27:22.671 MyAppName[6119:10b] *** -[NSBigMutableString _g...

Tool to trace local function calls in Linux

I am looking for a tool like ltrace or strace that can trace locally defined functions in an executable. ltrace only traces dynamic library calls and strace only traces system calls. For example, given the following C program: #include <stdio.h> int triple ( int x ) { return 3 * x; } int main (void) { printf("%d\n", triple(10));...

Make GDB print control flow of functions as they are called

How do I make gdb print functions of interest as they are called, indented according to how deep in the stack they are? I want to be able to say something like (made up): (gdb) trace Foo* Bar* printf And have gdb print all functions which begin with Foo or Bar, as they are called. Kind of like gnu cflow, except using the debugging sy...

debugging javascript with firebug

Hi, I cannot seem to debug my javascript code with Firebug. The play button is greyed out. I use FireFox 3.0.4 and Firebug 1.2.1 Are there any known issues? This is the script i want to debug: (breakpoints set on img onclick and function say), the code executes well. <html> <head> <meta http-equiv="Content-Type" content="...

Debug Levels

Hi, I would like to know if you guys have any suggestions about debug levels when writing an application. I thought about 4 levels: 0 : No Debug 1 : All inputs and outputs 2 : "I am here" notification from significant functions with main parameters 3 : All variables verbose Thanks, Omri. ...

Debugging pylons in Eclipse under Ubuntu

I am trying to get pylons to debug in Eclipse under Ubuntu. Specifically. I am not sure what to use for the 'Main Module' on the Run configurations dialog. (this is a similar question on stackoverflow, but I think it applies to windows as I can't find paster-script.py on my system) Can anyone help? ...

How to consistently organize code for debugging ?

When working in a big project that requires debugging (like every project) you realize how much people love "printf" before the IDE's built-in debugger. By this I mean Sometimes you need to render variable values to screen (specially for interactive debugging). Sometimes to log them in a file Sometimes you have to change the visibility...

tb_event_death when single stepping in dbx

When I am single stepping through one thread of a multi threaded program, the debugger gets interrupted with: 0x(some hex ref) : tdb_event_death : ret dbx: thread has exited -- next aborted My guess is a thread somewhere in the program I am debugging has stopped, but it's not the one I'm debugging so I can't see why I have to res...

Getting rid of "There is no source code available for the current location"

Ok, this is my own fault, but I can't seem to rescue myself. Whenever I try to step into a class that has fields with assignments calling into .NET code, I get a dialog box that contains this text: --------------------------- Microsoft Visual Studio --------------------------- There is no source code available for the current location...

DTS- Debugging Tips

In a legacy project that I'm on, we have several processing that are preformed via DTS. DTS is not something I worked with a lot back in its hey day.... I was in college. More specificity, these process are in ActiveX code blocks -- which is basically VBScript for database. It is really hard to debug. Anyway, I'm wondering if any pas...

Java post-mortem debugging ?

Is it possible to have a post-mortem ( or post-exception ) debugging session in Java ? What would the workarounds be ( if there isn't a solution for this already ) ? ...

How to debug Web2py applications?

Is it possible? By debug I mean setting breakpoints, inspect values and advance step by step. ...

how do you diagnose a kernel oops?

Given a linux kernel oops, how do you go about diagnosing the problem? In the output I can see a stack trace which seems to give some clues. Are there any tools that would help find the problem? What basic procedures do you follow to track it down? Unable to handle kernel paging request for data at address 0x33343a31 Faulting instru...