debugging

A way of debugging GLU with Visual Studio?

I'm using GLUTess to tesselate polygons. Sometimes it crashes with a null pointer issue and I have no way of knowing why since I just link to glu32.lib . Is there a way to see the source and get the exact line it crashes on? Thanks ...

best proxy debugger

what is the best proxy debugger for windows or debian? ...

Why can’t I run Xcode debugger highlighting the call stack after a crash/exception?

So, when developing, I get a crash when running the app in iPhone simulator. Say something like this in the console... 2010-08-01 19:28:04.228 FakeCreme[32888:207] adding bucket: (null) 2010-08-01 19:28:04.230 FakeCreme[32888:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSMutableArray i...

#define LOG_MSG(...) for debugging

How does the following code work? #define ENABLE_DEBUG 1 #if ENABLE_DEBUG #define LOG_MSG printf #else #define LOG_MSG(...) #endif ...

Debugging an Android app in Eclipse using the handset

I am just starting to learn Android development using the Android SDK and Eclipse. I can get my HelloWorld starting app to run in the device emulator, but not on my Verizon Droid handset. I have downloaded the drivers for Windows 7 and I can see the files on the handset in Windows Explorer, so I'm assuming I have the drivers working. I h...

Diagnosing why DebuggerTypeProxy attributes are not working

I'm trying to make a wrapper for a COM object easier to work with when debugging by adding a DebuggerTypeProxy attribute - the attribute appears to work some of the time (when running unit tests etc...), but doesn't work when I'm actually debugging the target process and I don't know why: I've checked to make sure that the correct asse...

debug settings in vc++ 2005

While debugging following VC++ simple code, for ( int i = 0; i < 100; i++ ) { // do something } I want breakpoint should hit the loop when "i = 50". Where are the setting for this in vc++ 2005 IDE? ...

Displaying variable values in hexadecimal with xcode during debug does not work anymore (xcode 3.2.3)

Hi, I switched to xcode 3.2.3 last week and curiously I cannot display variable values in hexadecimal during the debug process. When I open Run > Variable views then all options remain gray except the first two ones (Use data Formatters / Show Type Column). Did someone notice this? Why such a change? Franz ...

Why would GLU crash at this spot?

I have found that my application crashes with a null reference exception right here in sweep.c in GLU source code: static void ConnectLeftVertex( GLUtesselator *tess, GLUvertex *vEvent ) /* * Purpose: connect a "left" vertex (one where both edges go right) * to the processed portion of the mesh. Let R be the active region * containi...

Visual Studio 2010 - Only View Output of a Specific Category

In Visual Studio 2010, it would be beneficial to only view the output of a given debug category.. I.E. Debug.WriteLine("debugging", "category1"); Debug.WriteLine("debugging2", "category2"); We have numerous developers developing on the same project and theres a lot going on in the output window that we dont need to see... if we could...

How can I include PDB files in a Silverlight XAP?

Is there a way in VS 2008 to specify I want to include pdb files for all/some dlls in the xap generated? Background We have written a Silverlight framework that is used by multiple projects with some base UI controls and functionality. These framework dlls and pdbs are brought into projects via svn:externals into a lib folder. The Si...

Testing iPhone app with Valgrind

I have terrific bug "object was modified after being freed", so I tend to take valgrind. After successfull installation from their svn, doing little trick from here: http://landonf.bikemonkey.org/code/iphone/iPhone_Simulator_Valgrind.20081224.html and changing path to valgrind with my one, I get "Debugger terminated." with gdb log: ...

Why aren't we all reverse debugging?

Is it me, or is reverse debugging the most amazing feature ever that no-one seems to be using or building into all or debuggers for that matter? By Reverse debugging I mean a debugger that by some means records the state of your program at every execution level and thus allows you to go backwards and forwards in time through the executi...

Tracing linked libraries

I'm getting some errors which make me think that my Linux program isn't linking to the libraries it's supposed to. How can I get the full path to all linked libraries? I know ldd will give me the names, but how can I use that to get the full path? Thanks. ...

Was executable compiled with debugging info?

How can you check if a Linux executable was compiled with symbolic debugging info? ...

Find a JS function/string in Firebug script console

I am using Firebug to debug 3 lines of JS I have written, but the framework I am using generates 10k lines of JS code. And I end up finding those 3 lines manually. Is there a way to search for a string/function in the script console of Firebug? Any work around? Thanks ...

Debugging a program written in the go language.

How do I debug a go program? I have been using the Gedit go IDE, but it doesn't have debugging. Is there a way to step though my code and inspect memory? Or am I stuck with print statements? Can I use OutputDebugString? ...

Deciphering Xuggle/ffmpeg errors (newbie)

I've recently started working with Xuggle to convert video files of various formats into corresponding FLVs (to be played on our site via jwplayer). The code I'm using is trivially simple; essentially what they show for the basic video conversion tutorial: IMediaReader reader = ToolFactory.makeReader(file.getPath()); reader.addListene...

How do I find which JavaScript is changing an element's style?

I have an element that's getting styles applied via JavaScript. I'm not sure exactly where; is there a way to check Firebug to show where the "element.style" is actually coming from? ...

How do I use the bitmap debug visualizer in Visual Studio 2010?

I'm attempting to use the bitmap visualizer in Visual Studio 2010, but when I bring up the quick watch window I don't see the magnifying glass described here. I set the app to full trust under the Security tab of the project settings but it didn't help. Has anybody successfully used the bitmap debug visualizer? ...