debugging

NSString drawAtPoint Crash on the iPhone (NSString drawAtPoint)

Hey. I have a very simple text output to buffer system which will crash randomly. It will be fine for DAYS, then sometimes it'll crash a few times in a few minutes. The callstack is almost exactly the same for other guys who use higher level controls: http://discussions.apple.com/thread.jspa?messageID=7949746 http://stackoverflow.com/...

How to filter specific symbols(Only defined in dll/Exe/lib) using dia2dump

Hello, I need my all defined symbols (functions) in certain DLL/EXE/lib. I dont need Kernel or other OS layers symbols. I dont need all other stuf, only which's defined by my own DLL or EXE which I am giving it as PDB. But it shows EVERYTHING kernel related,OS related and balah blah endless list(sky is the limit).. I only required define...

Why do I have memory problems?

I got this error from XCode: objc[8422]: FREED(id): message release sent to freed object=0x3b120c0 I googled and find that is related to the memory. But I don't know which line of code I go wrong, any ideas? After I launch my app in simulator, it prompts a second, than, no other error except the error above. @implementation MyAppDele...

Eclipse PDT debugging web application: evaluating expressions in a console

When using Eclipse PDT with XDebug to debug a PHP web application, is there any way to open up a console window that will allow me to type in and see the value of arbitrary expressions in the current scope? This would seem like an obvious element of the debugging environment, and I may be missing something, but the only thing resembling...

Question on how to remove a Visual Studio Breakpoint

Let's say I have 10 breakpoints and I want to clear one but not the other 9. If I toggle the breakpoint on the one that I want to remove, it is resurrected the next time I restart the app. The only way that I know to permanently get rid of it is to clear ALL the breakpoints, which I would rather not do since I would have to reset the ot...

Conflict between two Javascripts (MailChimp validation etc. scripts & jQuery hSlides.js)

I have two scripts running on the same page, one is the jQuery.hSlides.js script http://www.jesuscarrera.info/demos/hslides/ and the other is a custom script that is used for MailChimp list signup integration. The hSlides panel can be seen in effect here: http://theatricalbellydance.com. I've turned off the MailChimp script because it ...

Cannot currently modify this text in the editor. It is readonly.

In VS2008, in a VB.NET windows (WInform) app, I suddenly seem to not be able to edit the code and continue in this project. In Tools-->Option, Edit and continue is checked. What else can I look for? The files I am trying to modify are not Read only. ...

Debug-only ostreams in C++?

I've implemented an ostream for debug output which sends ends up sending the debug info to OutputDebugString. A typical use of it looks like this (where debug is an ostream object): debug << "some error\n"; For release builds, what's the least painful and most performant way to not output these debug statements? ...

What is the best way to debug when a jquery post is not firing off an asp.net mvc controller action

I put a breakpoint on the controller action but it never fires. Is there anyway to catch errors on a jquery post? here is my jquery javascript code: <script type="text/javascript"> $(document).ready(function() { $('#commitExerciseButton').live('click', function() { $.post($("#exerciseForm").attr('action'), ...

emacs debugger: how can I step-out, step-over ?

I don't know why I'm having so much trouble groking the documentation for the elisp debugger. I see it has a commands to "step-into" (d). But for the life of me, I cannot see a step-out or step-over. Can anyone help? If I have this in the Backtrace buffer: Debugger entered--returning value: 5047 line-beginning-position() * c-p...

How to see the contents of std::map in Visual C++ .NET (Visual Studio 2003) while debugging?

I need to see the contents of a std::map variable while debugging. However, if i click on it in the Autos/Locals Tab, I see implementation specific stuff, instead of the keys and its contents which I want to look at. Is there a work-around i'm missing ? ...

Debugging Drupal 6

OK, I've read and attempted all of the tutorials I can find on being able to debug a locally installed Drupal 6 instance. I'm on Windows, 32-bit. I have access to Eclipse (obviously) as well as Visual Studio 2005/2008. I've yet to be able to get any of the Eclipse options (XDebug, Zend, etc.) working to be able to step through code, i...

Is it possible to change where things are in Chrome's Developer Tools Script panel?

When debugging browser-based apps using Google Chrome's Developer Tools, is there a way to change the locations of the various panes? Specifically in the Scripts panel (though I suppose it's a general question). E.g., the Watch Expressions, the Call Stack, the code pane, etc.? The defaults are okay (console at bottom, code pane upper le...

How to debug Sharepoint solution/feature through Visual studio ?

Recently I tried to install a webpart through wspbuilder utility to the Sharepoint Site. I have created, built and deployed a project to the 12 hive. After that installed the solution through Cental Administration Site and activated in the site collection. I just wonder how can I debug the complex feature/solution ? Because both proce...

.Net Custom Components "disappear" after file save

I might have a hard time explaining this because I am at a total loss for what is happening so I am just looking for some guidance. I might be a bit wordy because I don't know exactly what is the relevant information. I am developing a GUI for a project that I am working on in using .Net (C#) Part of the interface mimics, exactly, wha...

Launching my deployed my app gets "has stopped working" error. How do I debug this?

I deployed a VB.Net app and ran it and I get 'AppName has stopped working" "Windows is checking for a solution to the problem" along with a Cancel button under Windows 7. Under XP I am only getting the option to Send the error report to Microsoft or not. There is no apparent way to hook into a debugger. I am not getting any exception da...

Android Debugging with Logcat and Emulator. Is it possible?

This is pretty simple: I'm using NetBeans on Linux with Android emulator 1.6. I have Logcat on my android phone, but the process of getting the messages to somewhere readable isn't smooth at all. Can someone tell me how to get Logcat running on the emulator? Is there anything I can do to see debug messages other then having to copy the ...

Remote debugging javascript in IE7

Is it possible to attach Visual Studio to a remote instance of IE7 and debug Javascript? I have enabled script debugging in IE7 and I can attach to the process, but my breakpoints are ignored. Have anyone ever done this? Update. Does not seem possible. Any ideas are welcome though. ...

Finding the actual runtime call tree of a Java Program

Suppose I have a big program that consists of hundreds of methods in it. And according to the nature of input the program flow is getting changed. Think I want to make a change to the original flow. And it is big hassle to find call hierarchy/ references and understand the flow. Do I have any solution for this within Eclipse? Or a plu...

AS3-IntelliJ IDEA debugger: Unexpected debugged player communication problem

For some reason I can't debug my actionscript application in IntelliJ. I keep getting this error in the console: Unexpected debugged player communication problem. I have no idea what causes this! Any ideas? ...