Library to read ELF file DWARF debug information
Any recommendations for a good cross-platform library for reading ELF file debug information in DWARF format? I'd like to read the DWARF debug info in a Python program. ...
Any recommendations for a good cross-platform library for reading ELF file debug information in DWARF format? I'd like to read the DWARF debug info in a Python program. ...
Summary jquery is used to retrieve search results via the get() call. When rendering the bulk of results there is no problem, but then when rendering part of the results, IE7 consistently hangs for 5-30 seconds before rendering. Problem The get() call in jquery successfully executes. There is no eval() or urlencode or decode on the da...
Hi All, Is there a way to update the PDB file with the new source location ? I have a project which links to some libraries which are built on another machine and are debug build with the PDB file. I cannot put a breakpoint in the files which are compiled in the libs. These libs take more than 4 hours to build so I dont want to buid the...
I was wondering if there was any decent way, other than NSLog-ing just about everything - to properly debug a Screensaver app bundle in OS X? The "Screensaver" is a project type in XCode, but there's obviously no Build and Go debugging. Further, I've found that in fact my bundle is getting loaded in to the /System/Library/Framework...
I am getting this error message while trying to do the following #include <vector> #include <algorithm> using namespace std; class NN { public: NN(const int numLayers,const int *lSz,const int AFT,const int OAF,const double initWtMag,const int UEW,const double *extInitWt); double sse; bool operator < (const NN &net) const {r...
Very occasionally, despite all testing efforts, I get hit with a bug report from a customer that I simply can't reproduce in the office. (Apologies to Jeff for the 'borrowing' of the badge) I have a few "tools" that I can use to try and locate and fix these, but it always feels a bit like I'm knife-and-forking it:- Asking for more ...
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." --Brian Kernighan It seems to be a subjective question, but in your opinion, 'What exactly is he intending "clever" to be?' ...
Hi - I've got a PowerBuilder project that calls my .Net class library exposed to COM. I'm very new to PowerBuilder and just starting to pick it up. Id like to create some simple tests for my COM calls and I've looked for quite a while and can't find anything that is similar to the VS Diagnostics methods. Does this functionality exist? ...
I've been reading a lot about the Debug class lately. I'm pretty torn about it personally. I can see it improving the process of creating really tricky algorithms. But it also adds a lot of code to my app that I have to wade through unnecessarily. Having a Debugger should remove the need for boiler plate code, whether it is stripped ...
Hi guys. Can you show me how to deploy/debug and iphone application using xcode but without having to pay 99$. I'm doing this for the study purpose. I've seen a guide which help to deploy iphone application to iPhone device(e.g: http://www.vinodlive.com/2009/01/16/how-to-deploy-an-iphone-application-without-an-idp-membership/). However ...
After struggling with a particular problem or bug in some part of my code for hours, without getting anywhere, I often get a sudden revelation as soon as I try to explain the problem to one of my coworkers, or while formulating it in writing for posting to some forum. Does this kind of experience have a name? Where can I read more abou...
When I attempt to debug a simple program with gdb on cygwin I get the following: C:\Users\Benoit St-Pierre\workspace_cpp\cs454>gdb a.exe GNU gdb 6.8.0.20080328-cvs (cygwin-special) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you...
Hey Guys, So I have a perfectively working VisualSVN that me and my other 2 team members use (tiny team). The problem is at the moment that we use an excel spreadsheet to really maintain our bugs. We have said for ages "get around to installing some bug tracking software" - never had the time. So today, biting the bullet. What is the ...
I have a problem with debugging sessions. My program executes very well in a debug session but if I start a normal run, it behaves completely different. The problem is, that I cannot say, why it acts different. One possible reason is the slower execution time because you alway have to press F6 or so. I tried to insert Thread.sleep(1000)...
I want to change the logging level depending if I'm debbugging or not, but I can't find a code snippet to check if the application is running in debug mode. I'm using eclipse to debug the application, so if the solution only works within Eclipse it will be fine. ...
This might be a GDB question.. but I'd like to run my app in the debugger and have the debugger break when an exception is thrown, so I can see where the code is and what its doing at that time. I do this often in Visual Studio using the Debug -> Exceptions dialog, checking the 'Thrown' column beside the type of exceptions I'd like to s...
I have a VB app that I need to monitor while it is running. I added some variables to the Watch window, but while the app is running the watch window is greyed out. The only way that I have found to see the variable values is to use Debug -> Break All, but this stops the program. I have used other IDEs and they allow active variable...
My program opens a socket on port 80, but if I don't run it as root (with sudo) then it fails to open the socket with a permission error. This means my application doesn't work when I launch it in the debugger. So: Can I tell Eclipse-CDT somehow to launch the app using sudo? Or, can I somehow enable my program to have permission to o...
Note: Currently using Perforce as a CM tool. I currently do several debug releases of software [only debug files (.pdb) and binaries (.dll and .exe)]. At every release, I check the all the files used to generate the binaries into our CM tool (baseline). Then I checkout the files and continue making changes. Currently, if there was an...
I am writing a Windows CE application in C# that references a native C++ DLL (that I am also coding) using the following method: [DllImport("CImg_IP_CE.dll")] public static unsafe extern void doBlur(byte* imgData, int sigma); This actually works fine but I am unable to debug the DLL. When I check the debug modules that are load...