First off I apologize... I have posted this question before but I did a bad job of explaining it. I'm having trouble plugging hoverIntent into the following JavaScript... I need it to replace the "mouseenter" and "mouseleave" functions below. Just to be clear, I'm asking for help because I'm not very good with javaScript syntax. The s...
I am compiling my application with a third party lib and there seems to be some weird behaviour that suggests a stack overflow issue (this is just a guess).
But when I add a print statement after the line that's crashing the application runs fine. If I remove the print statement (a simple cout << "print something" << endl; statement) t...
When a 64 bit VC 2005 application is compiled with optimization turned on, it is not possible to see all local variables in a crash dump file. In many cases, the local variables or parameters are stored in registers instead of on the stack. Subsequent calls to other functions, such as error handling functions, will sometimes overwrite th...
I realize that Java code will slow down when run in debugger.
Question is, will the code slow down simply by starting Java with these options:
Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n
??
Or does the slowdown only happen when you connect to the "debug port" and actually step through code using an IDE?
...
I'm building a Java application (using Ant with build.xml and build.property files). Now I'd like to be able to create a different "debug" build which prints several diagnostic messages to System.err. This is achieved by something like this (simplified):
private static final boolean DEBUG = false;
public static void debug (String msg) ...
Hi!
I am currently trying to setup Xdebug on an XP computer with Eclipse PHP installed. I am using WAMP and I'll think I have done everything by the book (as intended by several tutorials online), but when I'll try to execute the Debugging and start the session, nothing happens, which also is notified by Eclipse. Another tab is opened w...
I am using the debug_new tool that come in the pack of tools NVWA made by Wu Yongwei. http://wyw.dcweb.cn/
I turned it off once to track a heisenbug, that now is fixed. But as I turned it on, my program throws a bizarre error:
It loads, but before accepting any input it quits and writes on the console:
"This application has requested ...
How can I debug a shared library in the this case:
A daemon is checking which job is set to run, if find one, the daemon will fork a process. This process will do dlopen/dlsym etc to use the shared library.
The shared library is under my control so I can put one with debug information. While the daemon is not under my control and canno...
I recently aquired an old website (we're talking tables, image maps, you name it).
I was asked to make an old link to a Flash gallery into a lightbox. I simply used a javascript: openLightbox() on the gallery link (top right corner). I know, I know, but it doesn't seem out of place on this site.
Anyway, I also include a JavaScript file...
I have a long running process (40+ min) that I am debugging. I don't want to have to give my workstation my full attention while I'm debugging. I'd like if VS could play a sound if an exception occurs to pull my attention back to my workstation so I can resolve the issue and move on.
Is this possible?
...
Say a server stores objects with a reference count. Clients, when they connect (over sockets), send messages to increment and decrement the counts on those objects. The only behavior pattern that's guaranteed is that if a client works with a particular object, it will increment it, some time will pass, and it will decrement it (clients n...
When in debug mode, powerbuilder (ver 10.5) throws application execution error and terminates the application, for errors raised by statements put inside try/catch blocks?
For example line 3 below throws, an "array boundary exceeded" error and the application is terminated. How can I overcome this (handled) error and debug the rest of t...
Hi, today my VS2008 started to have a strange behaviour... I usually work wit web sites (not web project) and when I need to debug I attach the debugger to the w3wc.exe process.
But today when I attach the process I get a kind of toolbox on the solution explorer, as you can see from this screenshot
http://i45.tinypic.com/a0ggmw.jpg
(s...
Hello all,
I have a function in a parent page that opens another page in a child window. In the same parent I have a 'kind of' callback function that I am calling via window.opener.MyFunction() before closing the child window.
It works, but when using Firebug and placing a breakpoint in the 'callback' in the parent Firebug steps throug...
Hi,
I'm not sure if there is a name for this technique, but I remember doing something like this a long time ago in C++. I would like to breakpoint and observe a specific object of which there are hundreds in my program. It would be nice if you can tell the compiler to use a reserved space of memory so that I can run once, pull out a ...
I am reading a report from a "web application security" company, whom have been scanning a few websites of the company I am working for. It appears from the report - which seems written without any human involvement - that several attempts where made to break our sites using requests like this:
DEBUG /some_path/some_unexisting_file.aspx...
I've written a shared library which is partly used by a Windows application written in Visual Studio 6 (pure C).
The library works flawlessly under Linux, but under Windows something's broken somewhere (it uses some #ifdef WIN32 which might enclose something errornous).
But adding the library DLL as "additional DLLs" to the project in ...
i am working in winforms with C#. heres my code
query = "SELECT max(Appointment_Time) FROM Appointments WHERE (Appointment_Status = 'D')";
dset = db.GetRecords(query,"Appointments");
ctime_Label.Text = dset.Tables["Appointments"].Rows[0]["Appointment_Time"].ToString();
db.GETRecords is a function of the class that provides me sql-serv...
Hey all, I'm in the process of debugging a C++ app on mac os 10.5. Occasionally, I'll do something bad and cause a segfault or an otherwise illegal operation. This results in the app hanging for a while, and eventually a system dialog notifying me of the crash. The wait time between the "hang" and the dialog is significant; a few minutes...
This may sound like a heresy :), but I mostly program in fortran (intel 10) and have actually no need for Visual Studio Debugger. Or at least, never have gotten used to it.
So to put it shortly, where does one turn it off ? Is it even possible ?
...