debugging

OutputDebugString + DebugView = not tabs!

I am dumping \t delimited data using using OutputDebugString and then use ex-Sysinternals DebugView to capture it. The problem is that all the data in DebugView appear to be space delimited, hence I need to perfrorm CTRL+H "\x20" "t" to replace spaces with the tabs before I can use it (I really need tab delimited data). Is there anywa...

Suggestions for debugging print stylesheets?

I've recently been working on a print stylesheet for a website, and I realized that I was at a loss for effective ways to tweak it. It's one thing to have a reload cycle for working on the on-screen layout: change code command-tab reload but that whole process gets much more arduous when you're trying to print: change code command-...

What is the best and useful debug tool in Linux environment for Perl and C++ scripts?

What is the best and useful debug tool in Linux environment for Perl and C++ scripts? In related to that, does anyone know the differences between Eclipse to DDD tools? Thank you, YoDar. ...

View temporary table`s data when debugging an MS SQL Function

I'm currently debugging an Ms SQL Function (SQL 2008). In this function, I have a variable declared this way: DECLARE @TempTable TABLE ( Id INT UNIQUE ); Then, I insert some records using an insert into...select statement. When debugging, I would like to see the records in this table. Is there a way to do this? Thanks ...

What are these orphan IE windows that appear sometimes when debugging in Visual Studio?

I use Visual Studio 2008 on Windows 7. Occasionally (more than once a day), when I launch the debugger via F5 to debug an ASP.NET website a blank Internet Explorer window opens and it hangs. I can stop the debugger, but the IE window doesn't go away. When I try to debug again, a new IE window opens and I can debug in that window just fi...

How can I see the stack trace in Octave's debug mode

I have a failure in some inner library function in Octave. I want to debug the calling function, but I don't know how to do it. How can I see the stack trace? How can I move between frames? ...

Are there debugging Symbols for Sharepoint?

Is it possible to debug issues with stuff like wsstracing? Or is the disassembly the best I can get? MOSS 2007 SP2. ...

"Undefined Symbols" when inheriting from stdexcept classes

Here is an exception defined in <stdexcept>: class length_error : public logic_error { public: explicit length_error(const string& __arg); }; Here is my exception: #include <string> #include <stdexcept> using namespace std; class rpn_expression_error : public logic_error { public: explicit rpn_expression_error(const string...

ASP.net debug hangs until I delete vbproj.user

Intermittently when I start debugging a web application VS hangs (not responding). It will start OK if I run the appllication without debugging. When it has happened once it will do it every time until I delete the vbporj.user file. This problem appeared when I moved to Win7 64bit. I am using VS2008 Pro and everything is patched up...

Debugging instance of another thread altering my data

I have a huge global array of structures. Some regions of the array are tied to individual threads and those threads can modify their regions of the array without having to use critical sections. But there is one special region of the array which all threads may have access to. The code that accesses these parts of the array needs to car...

How i can catch data, sended by compiled flash applet to server?

I have some compiled flash applet (swf) on web page, which interact with remote server by sockets. How i can catch sended data, without using complex sniffer, if possible. Thanks! ...

Question about debugger security

Can an attacker attach a debugger to my app after installing it to the market, or does the app have to be marked as debuggable first? How secure is this? Are there ways to get around it? ...

How to debug a web service written in PHP?

Hello, I've got a nice question here :) I need to debug my web service written in PHP. Its client is written in C#. After a couple of days of searching I realized this is not an easy task. At least it seems nobody knows the right solution. What is the problem in, actually? We have 2 popular PHP debugging libraries : PHP Debugger from N...

How to debug a running C++ program in Linux?

Hi I have a question about debugging a running C++ program in Linux. If a programming is already running and can't be interrupted, how to do that. I can find three ways, but I don't know too much about details, I am grateful if any one can elaborate it deeper. 1) we can use GDB by specifying the process ID gdb -p PID In this case...

Why do my debugger randomly jump out of debug mode?

Hi, I'm experiencing a very annoying behaviour with the debugger in Visual Studio 2008 Professional. I'm debugging a ASP.NET web application, and when stepping through the code the debugger randomly "jumps out" of debug mode, but without the debugger stopping. So when I'm stepping through my code like this: step over, step over, ste...

"The breakpoint will not currently be hit. The source code is different from the original version." What the hell does this mean?

Hi everyone I'm really hoping someone can help me out with this one. When debugging in Visual Studio, sometimes I add a breakpoint but it's hollow and VS says "The breakpoint will not currently be hit. The source code is different from the original version." Obviously this prevents me being able to debug. What on earth does the message...

Debugging tools for msbuild build project

Do they exist or I need to read billions of lines of /verbosity:diag parameter lines? Maybe you have other solutions? ...

Any tutorials about how to create an ASP.NET MVC 2 website and run it against Local IIS Web Server (not use Cassini)

Hello folks, does anyone have any good links/tutorials about how to create a simple ASP.NET MVC website, and have it run against a Local IIS7 Web Server, instead of the default Visual Studio Development Server (aka Cassini). Yes, i tried google, but i fail at getting some good keywords, etc. Cheers :) ...

Visual Studio - how to find source of heap corruption errors

Hi, I wonder if there is a good way to find the source code that causes a heap corruption error, given the memory address of the of the data that was written 'outside' the allocated heap block in Visual Studio; Dedicated (0008) free list element 26F7F670 is wrong size (dead) (Trying to write down some notes on how to find memory error...

.NET Debugging - System.Threading.ExecutionContext.runTryCode

We have this bug that only appears 30% of the time for the Release build. Opening the crash dump in WinDbg (snipped "!analyze -v" output): FAULTING_IP: +4 00000000`00000004 ?? ??? EXCEPTION_RECORD: ffffffffffffffff -- (.exr 0xffffffffffffffff) ExceptionAddress: 0000000000000004 ExceptionCode: c0000005 (Access violatio...