debugging

How do I look at an object in Xcode's debugger?

I have a simple question about debugging on Xcode and GDB. I often run into an error: unrecognized selector sent to instance 0x1081ad0 which makes the program load into GDB. Is there an easy way to examine what instance is located in that memory from GDB? ...

Is it possible to do custom display of members in Flex Builder variables view?

Is it possible to display something other than the definition name in the variables view in Flex Builder for special types? Basically, what I'd like to do is display the value of a complex member type instead of just showing it's qualified type name. Take a look at the following image: In the second column you can see the value of the...

iPhone apps crash if debugged on a jailbroken iPhone OS 2.2.1 (libgcc version?)

Hi, I'm new to iPhone development. I used a jailbraked iPhone (OS 2.2) for for some time with no problems. Recently I had to upgrade to OS 2.2.1 and after the update I am no longer able to debug apps on the phone. In the console I'm getting the following warning and the apps crash at launch (only when debugged) : ... warning: UUID mism...

C Programming: Debugging with pthreads

One of the hardest things for me to initially adjust to was my first intense experience programming with pthreads in C. I was used to knowing exactly what the next line of code to be run would be and most of my debugging techniques centered around that expectation. What are some good techniques to debugging with pthreads in C? You can s...

DEBUG ERROR : Runtime needed for <name.exe> occurs while cusing COM in vc++ project?

I have created a COM component for my work. I have registered the component also. On my system I have two VM workstations. In my first workstation it works fine. In my second workstation it displays an error box containing the message this program needs a rumtime and closes an unusual way please contact applications administrator. I ...

Eclipse 3.4 + Tomcat 6.0 + Remote Debugging with Console Output

Hi! I'm using this configuration: Eclipse 3.4 + Tomcat 6.0 + Remote Debugging It's working great, I can debug a servlet and so on, no problems. But, my servlet console output is going to $CATALINA_HOME/logs/catalina.out. Is that possible to redirect to the Eclipse console window? I use Log4J in my project but every entry goes to ca...

iPhone Device Debugging

Is it possible to actually use the Xcode debugger when running an iPhone app on the device rather than the simulator? i.e., can I have the device stop at breakpoints that I set in my code and step through the code as it runs on the device? EDIT: I should mention that I am a registered developer with Apple and have a valid certificate. I...

Visual Studio: Who is writing to console?

OK, here's a good one (I think) - I'm working on an application with lots (far too many) dependency dlls, created by a team of developers. I'm trying to debug just one assembly, but the console output is 'polluted' by the Console.WriteLines and Debug.WriteLines left scattered around by my colleagues. Is there anyway I can work out exact...

Visual Studio doesn't cache Microsoft Symbol Server cache misses?

I'm using the Microsoft Symbol Server with Visual Studio 2008 and it's working pretty well. Unfortunately, when the public symbol server doesn't contain the symbols, it takes a while to timeout, and Visual Studio attempts to reload the same missing symbols every time that I start my project for debugging. Is there any way that I can get...

How to resolve Debug Error

Hi I hav prepare a com component using c#. I have created a vc++ console application.in that consoloe application by consuming the com component i have build a .exe file called SQLDiscovery.exe this exe is working well in win2k3 machines fine. and i copied the sqldiscovery.exe to win2k8 machine and i have registerd the dll also. annd ...

#define DEBUG 1

I'm trying to have a debugging mode on so if #define DEBUG 1 I want to printf some variable values and if #define DEBUG 0 I want them off. The problem is I have many implementation files and I want this DEBUG variable to be available for the whole project. Right now I need to edit the DEBUG variable in foo1.c, foo2.c, foo3.c whic...

How do i compile nfsutils for MIPS architecture?

I need to run an nfsclient on a MIPS target machine, and nfsserver on an x86 machine. Tried to google, but couldn't find an exact solution. Can someone help me with how to compile nfs-utils with target as MIPS? ...

How do you debug your javascript code?

Assume that you have a problematic code snippet. What is your way to debug it? Are you alert the variables? Do you use Visual Studio .NET or any other tool to debug your javascript snippet? Are there good script libraries that ease the debugging process, or do you write your own? ...

unable to connect to ASP.Net development server issue

Hello everyone, I am debugging codeplex simple project => http://www.codeplex.com/sl2videoplayer. I am using VSTS 2008 + C# + Windows Vista x86 Enterprise. I have not modified any code of this codeplex project, and just press F5 to run VideoPlayerWeb project. The current issue I met with is error message -- "Unable to connect to ASP.Ne...

__vftptr is NULL

We received crash dump from customer site. I see that in one of the structures o nstack __vfptr is NUL. Does it always point to problematic condition (memeory overrun, deleting object twice...) or is there case where this pointer can be null. ...

trouble with pamie.

I'm having some strange trouble with pamie: http://pamie.sourceforge.net/ . I have written a script to do some port (25) forwarding based on a recepie that I found on the web, Here is the code that matters: # forwardc2s(source, destination): # forwards from client to server. # Tries to post the message to ICE. def forwardc2s(so...

Can a Windows Server 2003 32-bit machine application work for a Windows Server 2008 64-bit machine?

I am using a Windows Server 2003 32-bit machine. Using that machine I have created a COM component and consumed it in another application and have an EXE file. Now I copy that EXE to another machine installed with Windows Server 2008, 64-bit. And when I try to run that EXE it shows something like "Debug Error: This application needs r...

How would I debug Flex 3 databinding?

Hi, I'm trying to connect a datagrid to an HTTPService via a simple external XML document, and this is failing. How would I go about debugging where the problem is arising? I'm using the following: <mx:HTTPService id = "licenseService" resultFormat="e4x" url="http://localhost/licenseTest.xml" /> with <mx:DataGrid horizontalCenter...

DisconnectedContext was detected in LINQ To ActiveDirecory

Hi, I'm using LinqToActiveDirectory from codeplex and when I'm executing query using DirecotrySource I'm getting the following error: DisconnectedContext was detected Message: Context 0x3c5050' is disconnected. Releasing the interfaces from the current context (context 0x3c4f98).This may cause corruption or data loss. To avoid this pr...

Debugging Property Settings in Visual Studio 2008 with INotifyPropertyChanged

I have a class with a property that gets set by another class. Inside this property setter the program blows up. I just need to know what class actually set the property. I thought I could just look at the stacktrace, but because I am using INotifyPropertyChanged I think it doesn't give me the full information I am looking for. He...