debugging

How can I display Unicode strings while debugging on linux?

I have been working for some years now as C++ Developer using MS Visual Studio as working platform. Since I privately prefer to use linux, I recently took the chance to move my working environment to linux as well. Since I have been optimizing my windows environment for several years now, of course it turns out several things are missin...

How do I isolate debugging just to the current running project in visual studio?

I have just created a virtual directory and placed my app's files into it ready to allow some users to test. The problem is when I then go to my visual studio project (which uses a different virtual directory when running and seperate code location) I get debug errors randomly appearing from my users actions. How do I isolate debuggin...

Debugging with Code Blocks and a custom make (Boost.Build)

I've been using Code::Blocks with MinGW on a WinXP box for a while now. But since I started using Boost.Build as "custom build tool" I'm having trouble setting break points from Code::Blocks. When I start a debugging session Code::Blocks tries to send all break points to GDB but GDB doesn't seem to recognise the sources' filenames: Debu...

Ubuntu 9.10 + MonoDevelop + Debug + NUnit

I am a Linux noob and I would like to debug a unit test. If I run my test in MonoDevelop it goes green but if I try to debug everything freeze and I have to stop the debugger. My breakpoint on first line of code is never hit. There is no stack trace or information of what could have failed. Edit 1: Should I install OpenSuse (since it i...

Visual Studio 2008 .Net - Step Over Current Process

I try to debug several applications that communicates with each other - and want to have ability to step over without switching to another process/thread. So Visual Studio has command "Step Over Current Process (Ctrl-Alt-F10)" - which looks like what I want but it's disabled, why? I've found the same question but for C++: http://stackov...

Debugging .NET Problems on Remote User PCs

I support a .NET IE Toolbar, for a population of users that have a variety of OS and IE versions, in a variety of remote locations. For a small number of these users, the toolbar installs properly, but never actually loads when they try to enable it in IE. We haven't been able to replicate this situation on our test pcs. Most of our su...

Is there a way to customize the tool tip of a custom object in the VS Debugger?

http://stackoverflow.com/questions/369192/is-there-a-way-to-customize-the-tool-tip-of-a-custom-object-in-the-vs-debugger/1725025#1725025 anyway to do same for unmanaged c++? thanks ...

Tips for debugging a made-for-linux application on windows?

I'm trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I'm having trouble finding the spot in the disassembly where the issue is. I have tried three different debuggers (WinDbg, OllyDbg, and VisualStudio) and each pretty much gives me th...

IIS 6.0 hangs when serving a web-service

Hi guys I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the web-server (win 2003 server)it throws some generic error and crashes the IIS worker process(W3wp). If I try to attach visual stu...

How to get more info when the "Aw Snap" screen shows up in Chrome?

I am trying to view a page in Google Chrome, but I get the message: "Aw, Snap! Something went wrong while displaying this web page". Is there a way to get more information about what went wrong? Update: the "Aw, Snap" remark is shown only when the JavaScript console is visible. ...

Debugging error "The Type 'xx' is defined in an assembly that is not referenced"

The full error is as follows: The type 'System.Windows.Forms.Control' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. and it points at the very first statement (an Debug.Assert line) in the v...

Problem in Debugging and installing Window NT Service created in VC++

Hi, I have a legacy service which was developed in VC++ 6.0 and right now maintained using Visual Studio 2008. It handles database operations and provides records to its JAVA client in a predefined (XML) format. When we install JAVA application the service automatically gets installed (through JAVA application's installer). To debug t...

Watch window for XCode debugging

Is there any watch window to see variable value in XCode during debugging? Can we check value just typing variable name as in watch window? On mouse over, I can't see value for dictionary type objects. I see "Variables View" option but it has only first option enabled. in "Debugger" window, I can't type variable name. Watchpoint stops ...

Oracle PL/SQL - tips for immediate output / console printing

I have a number of pl/sql procedures that can take several minutes to run. While developing them, I've added a few print statements to help debug and also provide some feedback and progress indicators. Initially, I ran these on small test sets and output was almost instantaneous. Now that I'm testing with larger test sets that take sever...

Should Java programs compiled with debugging information not be used in a production system?

Is there any reason I should avoid compiling in debugging information with Javac in my Java classes for use in a production server? Are there any speed or security concerns I should be aware of? Please note that I am referring to debugging information like line numbers in stack traces, not the debug level of loggers. Related Questio...

Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable's value. Instead, hover behaves as if I were in normal Java perspective: I've tried cleaning the project, re-importing it, etc., all to no avail. Anything I'm missing here? ...

How can I debug objects on XCode the same way I do in Eclipse?

Hello! I'd like to see the content of NSObjects like properties ( arrays, Integers, floats... ). Since I'm a Flex developer I'm used to use the eclipse debugging tool. But now I'm starting with the iPhone I'm kind of lost. For example, I just downloaded the SeismicXML application from the dev's sample code, and I put a breakpoint on th...

How to execute code only in debug mode in ASP.NET

I have an ASP.NET web application and I have some code that I want to execute only in the debug version. How to do this? ...

How use Instruments and display the console in Command Lines applications

Hi, I'm using Xcode on OSX to develop command line C applications. I would also like to use Instruments to profile and find memory leaks. However, I couldn't find a way to display the console when launching the application from within Instruments. I'm also unable to attach to a running command line process (it exits with an error): He...

Unable to debug the kernel driver using Serial cable

I am new to driver stuff. I have tried to debug the kernel driver using serial COM port without success. Could someone show me proper direction how to fix the problem? I am seeing the following messages on kd console. ERROR: DavReadRegistryValues/RegQueryValueExW(4). WStatus = 127 ERROR: DavReadRegistryValues/RegQueryValueExW(5). WSta...