I am writing a cross-platform C++ program for Windows and Unix. On the Window side, the code will compile and execute no problem. On the Unix side, it will compile however when I try to run it, I get a segmentation fault. My initial hunch is that there is a problem with pointers.
What are good methodologies to find and fix segmentation ...
Hi there
When I run my application in the simulator everything works perfectly. It couldn't be any more sweet! :p
However when I change to debugging on a device (ipod touch) everything starts going haywire, with NO cause.
After a few seconds of the application being open (it will work for about 10s) it quits unexpectedly. XCode consol...
I have looked at the other questions on here and I dont see an answer for what is happening to my web app. My situation is this: The main web application has numerous sub_folders for events. Each of these sub_folders has a default.aspx page.
Whenever I try to debug any of the default.aspx pages I keep receiving the "Could not load type...
Can I use jmap to create a java memory heap on a JVM which was started with debugging disabled? If so, how?
...
That's a mouthful of a question but basically I want to know if I can use GDB on an application compiled to i686-pc-mingw on a linux cross-compiler. I want to debug the resulting program on the target windows box with source code references etc.
Is it possible and if so what to I need to take into account (ie, same version of mingw file...
My goal was to create a REST service that will allow me to POST and GET images. I've got the GET portion working, however I'm having difficulty posting an image to the service I created. Using the WCF REST Service Template 40 (CS) template I created the following method to handle my POST.
[WebInvoke(Method = "POST", UriTemplate = "upl...
I'm debugging somebody else's Qt program and ran into the following error message which I don't understand:
DWARF-2 expression error: DW_OP_reg operations must be used either alone or in
conjuction with DW_OP_piece or DW_OP_bit_piece.
I'm not sure what that means and Google isn't of much help.
Here's the context - sLocation is a QStr...
The shortcut key is F11 to start debugging. But issue is that I have to be on that file and then hit F11 to start debugging.
Eg.
my file to launch the application is "launch.py" and "example.py".
example.py is open in the editor whereas launch.py is not.
Now, if I hit F11 it will try to launch the application using "example.py" and t...
I'm using Trace in two of my projects, but I'm seeing different behavior in both:
The first project is a console application that I will convert to a service (at which point I will eliminate the Console traces), and I'm adding two Trace listeners:
Trace.Listeners.Add(new TextWriterTraceListener(someFileStream));
Trace.Listeners.Add(new...
I'd like to realease a Java application in debug mode to allow for easier debugging when random or hard to reproduce problems occur on the customer side.
However, I want to get a heads up on potential side effects of doing this? From the Java HotSpot Documentation it seems that there should be no performance penalty.
From the link
...
I spent some time debugging a SL3 application with VS 2010 in IE9 beta today and noticed a few quirks. Sometimes when launching the Silverlight app in VS it fails to load in the browser, but refreshing with F5 tends to fix the problem. Also, there are sporadic scripting errors that pop up a debug dialog - these also seem to be fixed by...
I've not built a Java web application before, but I have it complete enough to test and Maven is building my WAR file just fine. It is a multi-module Maven project and the dependent modules all have their JAR files in the WEB-INF/lib directory of the WAR.
So everything seems fine, but how to debug? I know how to (from the command li...
Is there a way to nicely print dictionaries in XCode during debugging? Selecting print description to console is ugly.
...
Recently I had cause to compare Blowfish algorithms. I was comparing outputs from DI Management's library and PHP's mcrypt. I could not get them to agree in any way.
This led me on an interesting chase. According to this posting on Bruce Schneier's website, there was a sign extension bug in early versions of the Blowfish code, and it wo...
I'm a professional C++ programmer and I'm pretty OK with the Visual Studio debugger (currently using 2005). I halfway know what a processor register is supposed to be, I can make something of a disassembly view (mostly guessing at what individual asm instructions might do). I know about symbol files -- that is their existence and how to ...
Hi!
In my document Core Data application I receive crash with report in console:
Cocoa Bindings: Cannot create NSSet from object <_NSControllerObjectProxy: 0x26acb0> of class _NSControllerObjectProxy
I have -NSBindingDebugLogLevel 1 startup vargument enebled and I get only this. Is there any way to get more information which class or ...
Possible Duplicates:
Perl sub to print out a variable and its value
How to get name of object in perl
I'm trying to create a sub called "debug" in an existing Perl script (which runs as a CGI under Apache2) and I want to call it from any other sub in the script and pass it the name of a local variable in that sub in order t...
I've got a control that crashes on the form designer when I build the application, and am trying to figure out how to debug the problem.
I thought all I needed to do to be able to get in with a debugger was to start a second copy of VS and use Debug-Attach to process and attach to the copy of visual studio that the solution with my trou...
Yesterday I ran into a situation (which I resolved by studying my code a lot) where the app would start and then blow up at some point in the start sequence. This would be a breeze to troubleshoot except that there was no stacktrace whatsoever. Debugging and stepping through line-by-line caused the problem to go away, and it was intermit...
I don't know where error information goes when a trigger doesn't work correctly.
My tool for writing triggers has been Oracle's Sql Developer tool, and my knowledge of how to debug it is pretty much nonexistent. What are some pointers for being able to find useful information about things happening "behind the scenes"? Also, are the...