debugging

How to debug a stackoverflow problem on targets

I want to know how do we proceed to debug a STACKOVERFLOW issue on targets . I mean what are the steps we should follow to reach a conclusion. ...

VisualStudio2010: AccessViolationException

Hey, I get an AccessViolationException when I try to start debuggin a C#-MVC2-webproject in VisualStudio 2010. But there is no Stacktrace or indication where the error occurs. When I switch from degub-mode to release-mode I get the error "unknown software error" (0xe0434352) [...] at (0x765e5b727). The window has the title from the ASP....

Getting logging.debug() to work on Google App Engine/Python

I'm just getting started on building a Python app for Google App Engine. In the localhost environment (on a Mac) I'm trying to send debug info to the GoogleAppEngineLauncher Log Console via logging.debug(), but it isn't showing up. However, anything sent through, say, logging.info() or logging.error() does show up. I've tried a loggi...

Viewing namespaced global variables in Visual Studio debugger?

When debugging a non-managed C++ project in Visual Studio 2008, I occasionally want to see the value of a global variable. We don't have a lot of these but those that are there all declared within a namespace called 'global'. e.g. namespace global { int foo; bool bar; ... } The problem is that when the code is stopped at a brea...

CodeIgniter model debugging errors

I am new to CodeIgniter, and I need a way to get more meaningful error messages. Specifically I am having trouble with some model relationships, but the error is vague. I am willing to try/install anything since I dont know how to fix this relationship. Is there a way to specify how verbose an error message is? Also, this could be relat...

Is it possible to implement a GC.GetAliveInstancesOf<T>() (for use in debugging)?

Hi, I know this was answered before, but I'd like to pose a somewhat different question. Is there any conceivable way to implement GC.GetAliveInstancesOf(), that can be evaluated in Visual Studio Debug Watch window? Sasha Goldstein shows one solution in this article, but it requires every class you want to query inherit from a specific...

Using CATransition in a viewController

Hi I'm trying to implement the ViewTransitions code sample from Apple, but putting all the logic in my viewController instead of my applicationDelegate class. I'm getting a bizarre error when I try to compile. _kCATransitionFade", referenced from: _kCATransitionFade$non_lazy_ptr in ViewTransitionsAsViewControllerViewController.o (...

Google App Engine with local Django 1.1 gets Intermittent Failures

I'm using the Windows Launcher development environment for Google App Engine. I have downloaded Django 1.1.2 source, and un-tarrred the "django" subdirectory to live within my application directory (a peer of app.yaml) At the top of each .py source file, I do this: import settings import os os.environ["DJANGO_SETTINGS_MODULE"] = 'sett...

Visual Studio 2008 - The breakpoint cannot be hit

I know that many people have had this problem... but I am now having it and cannot solve the issue. VS 2008 is randomly giving me an error after working on a project for weeks. When I set a debug point, I get a warning: The breakpoint will not currently be hit. No symbols have been loaded for this document. I have re-built the solution ...

Deliberately adding bugs to assess QA processes

How do you know that as many bugs as possiblle have been discovered and solved in a program? Couple of years ago I have read a document about debugging (I think it was some sort of HOWTO). Among other things, that document described a technique in which the programming team deliberately adds bugs into the code and passes it to the QA te...

C++ finding pointer errors

Hello! I am currently on a project which has been buggy for a long while, now I suspect, among other things, that there is pointer errors in the code. The program is written in native C++ using COM and uses out-of-process COM servers. Can anybody give me some tips as how one would go about finding these errors? Is there specific th...

Breakpoints are ignored when debugging in Visual Studio 2008 on 64-bit system

I'm trying to debug an ASP.NET web application in this environment: Windows Server Standard 2008 SP2 x64 Single-core CPU 4GB RAM Visual Studio 2008 with Remote Debugger SP1 .NET 3.5 Web Application running in IIS in 64-bit mode The code I am trying to debug is a simple event handler with some basic sequential code. What I observe is ...

Don't start ASP.NET Development Server when running non-web projects

I have a solution with a few projects in it, one of which is a web site. When I run one of the non-web projects (e.g. a console app), the ASP.NET Development Server starts up anyway. I'm sure there was an option for this somewhere - how do I make the ASP.NET Development Server start only if I am running the web project? ...

Debugging a release only flash problem

I've got an Adobe Flash 10 program that freezes in certain cases, however only when running under a release version of the flash player. With the debug version, the application works fine. What are the best approaches to debugging such issues? I considered installing the release player on my computer and trying to set some kind of non-g...

IntelliJ IDEA 9 and Scala 2.8

I have a problem with IntelliJ IDEA 9.0's debugger when I run scala code (scala 2.8). The problem is that I can't see which case is selected in the match sentence when I make traces step by step. ...

how to debug VC++ program, input file not open while debuging

i am using Visual studio 8. i pass command line argument to my program when i execute the program using exe file it works fine but when i use to debugg. it is unable to open the input file which i have given it in the form of command line argument. although i have given the command line argument in the Project->properties->debug->command...

running visual c with command line arguments

i am using Visual studio 8. i pass command line argument to my program when i execute the program using exe file it works fine but when i use to debugg. it is unable to open the input file which i have given it in the form of command line argument. although i have given the command line argument in the Project->properties->debug->command...

Using "run as" with Visual Studio debugger

Is there any way to use the "Run As" option in Windows XP in conjunction with Visual Studio's debugger, to debug an issue that occurs in my application only when certain users are logged in? I have ran the application from my machine using "run as" to pretend to be the user in question, and I got the same error as they did. I would like...

Debugging different projects in VS6

Hi, I have 3 projects in a VS6 workspace. One is the main program, which calls - depending on configuration - one or both other progams. To call the other programs a exe is executed. If I want to debug and set breakpoints in one of the subsequent programs, I get an error that breakpoints could not be set and have been deactivated. A...

Dubugging a program not run within the debugger and without a crash

I left a program running last night, it worked fine for about 5 hours and then one of its built-in self-diagnostic tests detected a problem and brought up a dialog box telling me the issue. The program was built with debug information (/Zi). Is it possible to somehow get the debugger started so I can examine the value of some variables w...