debugging

Data Formatters temporarily unavailable, not low on memory

I'm running a computationally intensive task that reads data from the viewfinder using UIGetScreenImage and does computations on it, repeatedly. After about 60 seconds (on 3GS) I'm getting a crash every time. But I can't debug it, because I get this: Program received signal: “0”. Data Formatters temporarily unavailable, will re-try aft...

Symfony: sfError404Exception: This request has been forwarded to a 404 error page by the action...

When building a website in Symfony 1.3 my development server refuses to display my custom 404 page. I have left the config settings as standard, so my error module is the default, as can be seen in my debug toolbar: sf_error_404_action: error404 sf_error_404_module: default This request has been forwarded to a 404 error page by the a...

C++: Where to start when my application crashes at random places?

Hi, I'm developing a game and when I do a specific action in the game, it crashes. So I went debugging and I saw my application crashed at simple C++ statements like if, return, ... Each time when I re-run, it crashes randomly at one of 3 lines and it never succeeds. line 1: if (dynamic) { ... } // dynamic is a bool member of my class...

Debugging an exception that only happens to exe but not from IDE

on closing the main form of the application(which I call so many methods on it,etc) if I run my application from IDE and want to close it, it is ok but if I just run the exe file It will throw an exception. so what way do you propose to me for debugging it? as I said when I run it from the IDE, it is Ok and no error occurs ...

C++ catching dangling reference

hello Suppose the following piece of code struct S { S(int & value): value_(value) {} int & value_; }; S function() { int value = 0; return S(value); // implicitly returning reference to local value } compiler does not produce warning (-Wall), this error can be hard to catch. What tools are out there to help catch...

Variables viewer on Eclipse debugging truncates the string values

I'm debugging Python code and when I try to show the contents of an string variable its showed truncated... How can show the full contents of a variable debugging Python code with PyDev on Eclipse? ...

Is there a way to set DEBUG for all tags in Android's ADB?

I know I can set DEBUG in Android's ADB by typing: adb shell setprop log.tag.MyTag DEBUG What I'm wondering is if there is a way to set debug for all my classes that do logging instead of having to type the above multiple times: adb shell setprop log.tag.MyTag1 DEBUG adb shell setprop log.tag.MyTag2 DEBUG adb shell setprop log.tag.MyT...

Equivalent of Debug.Assert for SQL Server

I'm adapting a large number of SQL Server 2005 scripts to merge two of our databases together. The scripts are run from a .cmd file which calls sqlcmd to run the scripts in order. However, I'm experiencing one or two issues where the scripts are failing. I'd like a quick way to get a look at the state of some of the scripts where they g...

Debugging Silverlight when hosted in a web project?

This is probably a basic question. I have two projects: A web application project, that has a webpage that hosts a Silverlight application, as well as a web service A Silverlight application project, the one hosted in the above web application If I debug the Silverlight application, it wants to run this with a generated web page, wh...

RAD 7: Debug GWT based Portlets

Hi, I have a Portlet which is based on GWT and it must be deployed on Websphere Portal Server. For development purposes, I need to have debugging working inside RAD (with embedded Portal Server). So, i installed RAD 7.5.4 with Portal Server 6.1. I made all configuration on both Server and RAD to work with debugginh. But when i make brea...

how to obtain CGContextRef from UIView or UIWindow for debugging outside draw method?

[This is my first post here (but I've browsed answers many times; thanks to all for a very useful site). If I'm committing any great sins with this post, please forgive me and point me in the right direction.] I am trying to debug some complicated startup code in my iPhone application; I really need to draw some images to make debuggin...

How to debug Python code that is partially covered by passing unit tests but produces wrong results when being reused?

I have a Python class and its methods are partially covered by unit tests like this: class MyClass: def __init__(self): self.instancevar1 = None # some methods change this value self.instancevar2 = None # some methods change this value ... def method1(self, input_data): ... <self.instance...

How do I reset Visual Studio so that it once again searches for source files of DLLs while debugging?

Hallo! In the process of debugging my WPF project, I regularly encounter thrown exceptions. When these exceptions fire, if the exception is thrown by my application's code, I am able to browse the source code. All is well. HOWEVER, if an exception is thrown by code hosted in another assembly (that we built), I am unable to browse for t...

DOS debug like program for 32-bit x86 assembly

Many of you may recall the old DOS program--debug. Though outdated in many respects, one of the nice things about it was that one could easily find the byte-sequence for a given instruction without having to go through the steps of writing a program, compiling, disassembling, examining the file contents, .... Enter the instruction, the...

Breakpoint Problem in VS2008

I have an ASP.NET web site project that I want to debug, but when I try to debug it Visual Studio gives the message "The breakpoint will not currently be hit. No symbols have been loaded for this document". Does anyone know of a solution to this that does not involve reinstalling everything. Debug is enabled on those files. Edit: manual...

Enable Unmanaged Debugging always causes Visual Studio crash

Never before had any problems with enabling unmanaged debugging. I'm using Vista, VS Team System 2008 (9.0 30729.1 SP) and VS 2005 Team Edition for Software Developers (8.0.50727.867). Starting today I cannot debug unmanaged code from C#! I cannot even set a check on enabling unmanaged debugging for an empty C# console project with no...

Help with debugging unexpected takeWhile behaviour with large numbers in Haskell

Firstly, apologies for the vague title, but I'm not sure exactly what I'm asking here(!). After encountering Haskell at university, I've recently started using it in anger and so am working through the Project Euler problems as an extended Hello World, really. I've encountered a bug in one of my answers that seems to suggest a misunder...

Cocoa - Debugging Help

Ok for some reason my code wont play nice and I'm too new to cocoa to figure this out on my own.. when the send button is pressed it is meant to run the createEmail method. But it says GDB: Program received signal: "EXC_BAD_ACCESS". when the button is pressed. #import "Controller.h" @implementation Controller -(IBAction)send:(id)sende...

Why MediaRecorder.start() hangs if audio source is VOICE_CALL ?

Why MediaRecorder.start() hangs if audio source is VOICE_CALL ? It works fine if audio source is MIC. And another question, is there way to debug native platform methods, MediaRecorder.start() par example ? Thanks for advices. ...

Recommendations for "Dynamic/interactive" debugging of functions in R ?

Hi all, When debugging a function I usually use library(debug) mtrace(FunctionName) FunctionName(...) And that works quite well for me. However, sometimes I am trying to debug a complex function that I don't know. In which case, I can find that inside that function there is another function that I would like to "go into" ("debug")...