If I open this page in Chrome 6.0.472.62 or .63 for OSX, the Javascript interpreter hangs. If I open the developer console to debug the problem and then open the page, the page runs fine. Running with the developer console results in no logging statements, so I'm fairly sure that it's not a problem with console.log not being defined. I'v...
Visual Studio Just-In-Time Debugger prompts to select "Possible Debuggers",
only "New instance of Microsoft Visual Studio 2010" is available,
I tick "Set the currently selected debugger as the default", click "Yes",
but, the dialog keeps being displayed every time.
I am debugging JavaScript in IE8 on Windows 7 x64.
How do I bypass th...
My current method: if there's a function that I know has an bug, I copy bits and pieces of it into the REPL and evaluate to see if the output is what I expect. To set it up, I have to def the arguments to the function as dummy input. Not terribly time-consuming, but I know there's a more efficient way.
Any suggestions?
...
One of my programs crashes periodically, but I don't know why. I'm running it in debug mode, but nothing pops up. The program just suddenly exits. I've had other bugs that do throw an exception...but not this one. Is there a magical way of catching it or something?
...
I'm trying to use dtrace through libdtrace (on Snow Leopard; 10.6.4). I want to catch the printed output of my dtrace script within my own program. One way to do so would be to have the output go to a temporary file and read it from there. However, libdtrace supports a callback function to catch the output directly which I'd prefer.
I a...
what are the 'self' and 'total' columns? The 'total' column does not add up to 100% (much higher) and it looks like the self does. I suspect self is non-cumulative and total is. So if methodA calls methodB calls methodC, in self Id see the % for each method call individually, whereas in total methodA would show the total of all three ...
My Spring MVC app is not allowing any logins and I can't figure out why.
I've added logging to the Login Controller but nothing is being outputted there.
The login page just seems to automatically redirect to the error page without going through the Login Controller.
Any ideas how to debug this problem?
<http auto-config="false" acce...
Every once in a while, some feature on a site I use will be broken/have annoying behavior that I want to change with a greasemonkey script. When I try to debug the site using firebug to find out what code is called from an event by using "Break On Next", firebug just breaks immediately to show some jQuery code that is always running. A...
Is there any way to write linq statements while project is running?
...
Hi,
could you recommend some website for C debugging puzzles?
Thanks
...
I'm starting an Explorer.exe instance with CreateProcess (flags NORMAL_PRIORITY_CLASS + DEBUG_PROCESS + DEBUG_ONLY_THIS_PROCESS), and then I'm doing this:
procedure FakeDebugProcess;
var
wDebugEvent : DEBUG_EVENT;
begin
fillchar( wDebugEvent, sizeof( wDebugEvent ), 0 );
repeat
if WaitForDebugEvent( wDebugEvent, INFINITE ...
Hi, I'm trying the HelloMapView example found here: http://developer.android.com/guide/tutorials/views/hello-mapview.html
Problem I'm having is that when I run my application, none of the map tiles will load... I heard this is usually do to my google maps api key not being correct. I tried signing my app with a key that I generated from...
I am using sos.dll to find memory leak in wpf .
And I found a wpf object was not released,
then I tried to find out why it is not released by using !gcroot
it gave me a warming that:
Please note that 6c369950 is not a valid object.
snippet of the debugging info
!dumpheap -type WPFUILib.MenuWindow
Statistics:
MT Count To...
A .NET application running in one of our systems 24/7 suddenly crashed without logging any errors.
The only error information we were able to retrieve is in the windows events log, with this codes:
faulting module msvcr80.dll,
version 8.0.50727.3053,
stamp 4889d619,
debug? 0,
fault address 0x000144dc.
Has anyone experienced an i...
How to make KDbg(interface to gdb) display/disassemble elf?
If I add -g while compile the code, KDbg will show the c code. Instead, how to display the assembly code?
...
Chrome comes bundled with Flash now… Great, but how do I install the Flash debug player?
...
I have a process that changes its current directory, and I would to know when and where it happens. How could I do that?
I tried setting a breakpoint in SetCurrentDirectoryA/SetCurrentDirectoryW with Visual Studio, but it does not work.
...
I'm trying to debug some issues with java processes on a Solaris box, but running jps returns no output. And jstack gives the error 'Permission denied'. The box is part of a cluster of 3 identical servers, jps and jstack work fine on the 2 other servers.
I found the following forum post from someone with the same problem but no answers:...
I'm debugging a Cocoa app, which calls the system libraries. I get debug symbols for my own code, but not the system libraries, which stops me debugging any further. How can I get debug symbols for the system library.
I'm using gdb, compiling against the 10.5 SDK on 10.6.4 (gcc 4.2).
Here is the stack-trace I'd like to get symbols for:...
Consider the following code:
#include <stdio.h>
#include <ctype.h>
char* Mstrupr(char* szCad);
int main()
{
char szCadena[] = "This string should print well.";
printf("%s\n", Mstrupr(szCadena));
printf("%s\n", Mstrupr("This string should fail."));
return 0;
}
char* Mstrupr(char* szCad)
{
int i;
for (i=0; szC...