debugging

What could be causing all these Objective-C build errors

moveMe[639] <Error>: CGContextSaveGState: invalid context moveMe[639] <Error>: CGContextSetBlendMode: invalid context moveMe[639] <Error>: CGContextSetAlpha: invalid context moveMe[639] <Error>: CGContextTranslateCTM: invalid context moveMe[639] <Error>: CGContextScaleCTM: invalid context moveMe[639] <Error>: CGContextDrawImage: invalid ...

Portable .Net debugging tools...

As a .net developer there are times when one is asked to debug at different machines (32 & 64 bit) other than ones own developer machine. Lot of times some important tool is missing and I have to install them first to start the debugging. Then I started to collect some portable tools in a 1GB memory stick. Currently it contains Windbg ...

what contents should be filled in PDT eclipse?

at "debug configurations" -> 'php script' -> 'new_config', on the right "PHP script arguments",what arguments should i fill in? for example: < ?php $tmp = $_GET['arg']; // is here the argument will be replaced ? echo $tmp; ?> i have no idea how to debug a URL with parameters. ...

Hints to speed up mobile debugging with Visual Studio 2008 C++

I'm debugging a C++ MFC Windows mobile 6 application using Visual Studio 2008 across a USB ActiveSync link. It works ok, but it is very slow. e.g. Adding a new watch for an integer vairable takes ~20 secs. Task manager shows devenv.exe as using 50% CPU at this time, e.g. all cycles on one core, so the problem appears to be CPU bound r...

Bizzare System.out.println() in Java Program

String messageFile = ... // Assume messageFile SHOULD have the string "MESSAGE" System.out.println("The messageFile is: " + messageFile + "!!"); Normally, one would expect the above command to output: The messageFile is: MESSAGE!!!! However, I am receiving this instead: !!e messageFile is: MESSAGE See how the above statement, the...

C# binary search tree - stack overflow - debug

I am a newbie learning C# after C++. VS2010. Trying to debug my code, I come across weird empty lines in the "locals" frame. The debugger just quits after a few seconds of me staring at these empty lines. Please check it out: http://pastebin.com/KZbfy8JF Thanks. I've spent at least 3 hours looking for solutions and playing around wit...

Memcached is crashing a lot. Why?

I am using memcached and it seems to be crashing a lot lately. Sometimes a deploy can cause it to crash on ActionController::Base.cache_store.clear and sometimes it happens out of nowhere. How can I get to the root cause of this? Does it have it's own log somewhere? How can I make it more robust? Our site relies heavily on it and i...

Trouble with JSON parsing in iPhone App

I've been trying to make this work for some time now, but I think I need someone on the outside to see what I'm doing wrong. In my app, I'm getting a JSON value from a web server, and parsing it into my table view. responseData = [NSData dataWithContentsOfURL: [NSURL URLWithString: @"http://myserver/json"]]; NSString *responseString = [...

ASyncCallback\BeginInvoke for Remoting, debbuging peculiararity

I'm currently using BeginInvoke(with ASyncCallback) to handle my Client\Server communications with remoting. Here is my current setup: ... //Main Remoter.StationDelegate svd = new Remoter.StationDelegate(IPCObjectInstance, &Remoter.GetStationInformation); AsyncCallback callback = new AsyncCallback(this, &CentralControlClient.Sta...

Debugging a crash when a library is opened via dlopen on OSX

Hello there, I have a problem with a C++ application I've developed which uses dlopen to load user-developed libraries. The application has been used by a variety of people on a variety of linux distros and versions of OSX over the last couple of years and so I'm assuming my usage of dlopen is OK and so is the code that depends on it (y...

How to debug program with signal handler for SIGSEGV

I am writing a plugin for a application, occasionally a SIGSEGV would be throw out. However, the application catches the signal SIGSEGV. In other word, The plugin is a dynamical library. The error occurs in my plugin and dynamical library. But the applcation handle the sSIGSEGV and exit normally. So, it is quite difficult for me to debug...

Help solving iPhone app crash

I released an update to one of my apps recently. This update made some small changes to the data structure, which is causing problems for some people. I have got a hold of some crash reports and narrowed it down to the line in question, but for the life of me can't see anything wrong with it. I'm not able to replicate the problem at my e...

eclipse breaking inside a class file

Everytime I execute my app in debug mode, the execution breaks inside some class file of an external library that I'm using. Even though it's a NullPointerException, for some reason I can hit resume and continue the execution. In case you're curious, I've put the stacktrace below. My problem though is that I simply want to stop that. It...

How to step through Python threads independently? (WinPDB)

Hello, I am trying to debug Python using WinPDB and I have multiple threads using threading.Thread. I can never seem to control the threads individually. If I break execution, the entire script breaks. If I step through the source code of one thread, all of the others continue to be interleaved and continue some of their execution. ...

iAd ==> Device connecting to xcode AdDomainError?

When i connect my device to xcode, and run the application, i get an AdErrorDomain, is this suppose to happen on debug mode? the simulator displays test ads, Device doesn't display anything Device through xcode gets AdErrorDomain ...

XCode - Debug configuration removes all GCC 4.2 settings

I have a project that I've just finished painstakingly rebuilding because duplicating a target would cause it to fail (the copy would fail to find its info.plist file no matter what you set in the build settings). Anyway, now that I've rebuilt the project I've encountered another problem: If I'm in "Release" configuration, I have acces...

why breakpoints don't work when debugging Silverlight app?

Hey, I debug my Silverlight application and when I put breakpoint in push button even, it don't invoke when I push it. Don't You know why it is ? Why then my app don't pause and I don't move to code to iterate through line of code? ...

Debugging an iOS app with an external accessory connected via Dock

Am I missing something glaringly obvious or is there no way to debug an iOS app which uses an external accessory that's connected via the 30-pin dock without using a bucket load of logs etc. I want to be able to use things such as breakpoints and Instruments. Is there a way to remote debug perhaps, over Wi-Fi, Bluetooth? Note: Yes, I ...

C# Debug vs Release

How much performance gain (if any) can a windows service gain between a debug build and release build and why? ...

Breaking single thread

Hello. Is it possible to break a single thread in Visual Studio, while other threads will continue their execution? I have one background thread that does simple data sending/receiving, which I would like to happen, while stepping through my code in some other thread. ...