I recently upgraded one of my applications to Rails 2.2.2. Having done that, I've encountered a strange performance bug that has caused renders that used to complete in a fraction of a second to take up to 10 seconds.
I've profiled the issue, and here are the results I've come up with. It looks like the issue is in the real_connect me...
OK, info break lists the breakpoints, but not in a format that would work well with reusing them using the --command as in this question. Does gdb have a method for dumping them into a file acceptable for input again? Sometimes in a debugging session, it is necessary to restart gdb after building up a set of breakpoints for testing.
E...
I'm playing with a PHP weblog application using a shared hosting service, as a part of my PHP learning process. The service provider has a typical LAMP environment with remote ssh access.
Vim has been my best friend in exploring the PHP code. However, I found it sometimes hard to trace stuff in the code in case of error. For example, s...
So, the question is: I get some notifications I don't want to get. But I don't know for what file/dir I got them. Is there a way to know why given notification was fired?
If you think about ReadDirectoryChangesW, please include a meaningful code sample.
...
I got this project, where there this error keeps occurring and its not on my table to fix it right now. I have other priorities. This error isn't that big deal as well for the rest of the project - but everytime this error gets thrown when I launched the debug player in Flex Builder, it shuts down the player right away.
Is it possible t...
Is there any gcc option I can set that will give me the line number of the segmentation fault?
I know I can :
Debug line by line
Put printfs in the code to narrow down.
Thanks!
Edits:
bt / where on gdb give No stack.
Helpful suggestion
...
What is statistical debugging? I haven't found a clear, concise explanation yet, but the term certainly sounds impressive.
Is it just a research topic, or is it being used somewhere, for actual development? In other words: Will it help me find bugs in my program?
...
In all the examples I've seen of the #if compiler directive, they use "DEBUG". Can I use "RELEASE" in the same way to exclude code that I don't want to run when compiled in debug mode? The code I want to surround with this block sends out a bunch of emails, and I don't want to accidentally send those out when testing.
...
We use Visual Studio 2008 for C# application development.
We launch three process when our applications comes up & we shutdown the launched processes when we close our application.
But often during debugging, we tend to close the debugger by Shift-F5 which stops the application immediately. So we need to manually close the processes st...
Hi,
using firebug, where are the js errors shown when the page renders? (if you have any good js debugging links w/firebug send them my way please!)
...
I am writing a Qt/C++ application, up until this month I have been using Mingw for compiling and drmingw for getting the stack trace from the QA people.
However I recently converted over to MSVC++ 9 so that I can use the phonon framework.
The downside is that now the stack traces from drmingw are useless. What do others use?
...
I use the console.out.writeline() to print the coordinates belonging to the different sprites in a XNA game. But after a few seconds, the game starts to go really slow, and almost stop.
(When not writing to the console, there are no problems with performance).
(The sprite's positions are written in every update method)
Is there a way to...
How do you configure JBoss to debug an application in Eclipse?
...
I just wanted to see if anyone is aware of any other debuggers capable of stepping through code.
I am aware of xdebug and use it as well as Zend Debugger and other debugging scripts (i've written my own widgets for this already).
However I am looking for a good replacement for step debugging - I've searched and searched but have yet to...
Let me just preface by saying it's actually my crappy code that's leaking and crashing my browser, I just thought I better make the languages being used as clear as I could from the outset.
I have a test page here and the javascript can be found here. My problem is that when I try and drag and drop either one of the red pieces more than...
I find that a lot of the time, OpenGL will show you it failed by not drawing anything. I'm trying to find ways to debug OpenGL programs, by inspecting the transformation matrix stack and so on. What is the best way to debug OpenGL? If the code looks and feels like the vertices are in the right place, how can you be sure they are?
...
Is there a good tool from either Sybase or elsewhere that will enable me to debug stored procedures in Sybase ASE? I need to be able to set breakpoints & watchpoints.
Previously, in Sybase ASA (not ASE), I used Sybase Central to do this. There is a plugin for ASE, but I doubt it will let me debug procedures.
...
I am doing some http request with WinHttp.lib,
while Get data with Range header, such as
"GET someURL\r\n Range: bytes=4096-8191,0-4095",
received the respone data after response header like this(according to RFC2616):
================================
--46228a661764c4210
Content-type: text/plain
Content-range: bytes 4096-8191/1406...
I'm using Windbg (with the sos extention) and trying to debug a crashed application. I was able to dump the IL of the call that threw the exception and by examining the code, it seems like I could obtain the information that I need if I could dump the contents of the evaluation stack. Is it possible to do what with WinDbg & sos ?
Here...
Has anyone actually used a reversable debugger? The only product that Google turns up is UndoDB. It is for apparently for Linux only.
...