Is there any way to log to Safari's JavaScript console when running with the built-in JavaScript debugger? I've read the Firefox JavaScript logging question and hoping that there is a simple ("native") way to do it in WebKit/Safari.
Thanks
...
Hello,
Is there a plugin that allows you to fold lines starting with a tab. For debugging purposes in a hierarchy of classes, I put a number of tabs in front of each line depending on its depth since the first toString(nl) call.
each time I have this kind of structure
public String toString(String nl) {
...
St...
Hello ;-)
I have a newbie but really important question for me: I have a Mac Os X application that uses carbon api, but it is still a C++ application. I need to debug which functions are called at execution time and then make a C++ patch to replace one of those functions.
The real goal: I need to log all text printed into a chat window...
Is there a similar mechanism in Python, to the effect set -x has on bash?
Here's some example output from bash in this mode:
+ for src in cpfs.c log.c popcnt.c ssse3_popcount.c blkcache.c context.c types.c device.c
++ my_mktemp blkcache.c.o
+++ mktemp -t blkcache.c.o.2160.XXX
++ p=/tmp/blkcache.c.o.2160.IKA
++ test 0 -eq 0
++ echo /tm...
Is there any javascript framework for reporting bugs?
I'd like to be able to get a copy of the web page the user is currently looking at plus maybe a stack trace on the JS, their current browser etc. and post it to my web application so that when I try to debug the application I spend less time trying to recreate the issue.
...
I am developing a DLL using C# .NET 2.0 and Visual Studio 2008 Professional. I would like to debug (i.e. set a breakpoint in) it using Attach to Process and attaching it to the application's executable. I think this is working; at least, I'm not getting any error messages. However, any breakpoints that I try to set get disabled with a...
As I see, it's impossible to figure out what is in an STL map using NetBeans.
Is there any plugin/trick/solution that will allow me to print out all values from a map in debug mode?
As far as I know it's using GDB for debugging C++ applications. I've found some nice GDB macros for STL containers (here: http://sourceware.org/ml/gdb/2008...
The issue is that the further the mouse click is from the top left origin (0,0) the greater the height inaccuracy when the vertex is plotted. Any ideas?
int WindowWidth = 19;
int WindowHeight = 13;
int mouseClickCount = 0;
int rectPlotted;
GLint x1;
GLint y1;
GLint x2;
GLint y2;
//Declare our functions with prototypes:
void display(voi...
Just wondering if there is the ability to search while in watch? Instead of going through a million tree nodes, if I could simply search for the result and then it opens up the tree accordingly?
Just wondering if something like this is possible? (and if not, why not?)
...
I have 3 menus that use this .toggle and when I switch between menus it requires a second click for the menu to click on again.
How do I make the second function stop if another menu is shown?
$(".dd").toggle(function() {
$("ul a", this).click(function(e) {
e.stopPropagation();
});
$(".contextMenu").hide();
...
In my Application.cfc, I have an onError function that works great for all errors except when the page being called has a missing closing tag. The error being thrown is InvalidEndTagNestingConfigurationException. I would like to catch these types errors as well in the application.
Why doesn't onError catch a missing closing tag error? ...
I am debugging an ASP.Net C# application in Visual Studio 2010, the application is running and execution is currently stopped at a breakpoint. How can I stop the page execution without "Terminate All" or killing the debugging process altogether, similar to what would happen if an unhandled exception was thrown? The "Break All Cntl+Alt+...
I'd like to see what the post fields in the request are before I send it. (For debugging purposes).
The php library (class) I'm using is already made (not by me), so I'm trying to understand it.
As far as I can tell, it uses curl_setopt() to set different options like headers and such and then it uses curl_exec() to send the request.
...
With desperate battle with Boost.Asio, i met a lot of difficulties.
One of them is that i can hardly locate where the "boost::noncopyable errors" are!!
If i violate the noncopyable regulation accidently, IDE only shows me some errors in noncopyable.hpp or somewhere else but nowhere in my files.
I can only find errors by comment&uncomm...
Right now I am doing the following:
1) build
2) copy build config target dir to other computer (VS remote debug monitor already stated)
3) RDP to launch recently built debug exe
4) click Debug -> Attach to process, select process from other machine
5) debug, make a change, goto 1.
What I would like to do is:
1) press F5 and debug
Am I ...
While debugging a C program in gdb I have a breakpoint in a for loop. I cannot print the value of "i" ( I get : No symbol "i" in current context.). I can print the value of all the other variables. Is it normal?
Here is the loop:
for (i=0; i < datasize; i++){
if ( feature_mask[i] > 0 ){
k = feature_mask[i] - 1;
...
Hi All,
I'm a Visual Studio user and is used to breakpoints for debugging. Now I'm working in a linux environment and is using Eclipse as an IDE. I'm a newbie in linux and eclipse. I don't have any idea how to use gdb in eclipse. I tried using gdb in command line, but is not as easy as having a UI.
How do I use gdb in eclipse?
...
Hi,
I am a bit confused about the behaviour of a C program from another programmer I am working now with. What I can not understand is the following:
1) a variable is defined this way
typedef float (array3d_i)[3];
array3d_i d_i[NMAX];
2) once some values are assgined to all the d_i's, a function is called which is like this:
void c...
Suppose, in a debugging session I have an address which unfortunately points to some rubbish. And I want to examine memory around it to see what's located near. As expected, the following error occurs:
(gdb) x/64 $t5
0x842da7ac: Cannot access memory at address 0x842da7ac
So, the question is: is there any way to read a range of add...
Update: if you've added symbolic breakpoints and they're not working, uh, "wait awhile". After posting this and moving on and doing something else in the project, I then had an objc_exception_throw caught at some point.
I've been adding -[NSException raise] and objc_exception_throw as symbolic breakpoints to all my projects and it's wor...