debugging

Debug JavaScript on a remote site using Visual Studio 2008 / IE7

I would like to debug JavaScript that resides on a 3rd-party site, using IE7 and Visual Studio 2008. How can I break into the debugger? There are no JavaScript errors and I don't have access to the JavaScript source (since it is on a third-party site). I just want to walk through the JavaScript and see how it's working. The JavaScript ...

JQuery How to find out what the ajax error is?

I have the following bit of code which I'm just trying out by running in firebug $.ajax({ type:"POST", url:"http://mpdomain/WebService.asmx/Operation", data: "{'parameter1': '44906'}", contentType: "application/json;charset=utf-8", dataType: "json", success: function(data) { alert("succsess") }, error: function(e, ts, et)...

Visual Studio 2008 Remote Debugger - Not Reaching Breakpoints

I have installed the VS 2008 SP1 Remote debugger on the machine running the program I want to debug. I am running the Remote Debugger with no auth / allow anyone to connect on said machine. I am running VS 2008 on my development machine with the project for that application open. I have copied a .dll that i have made changed to the sourc...

How to analyse a NoClassDefFoundError caused by an ignored ExceptionInInitializerError?

Today I spent my afternoon with analysing a NoClassDefFoundError. After verifying the classpath again and again, it turned out that there was a static member of a class that threw an Exception that was ignored the first time. After that every use of the class throw a NoClassDefFoundError without a meaningful stacktrace: Exception in thr...

SOLVED: Peculiar problem - iphone application distribution build contains a bug

SOLVED: This has been solved following the assistance of many people. I'm now writing this, so that people with similar problems can benefit from it. In order for me to recreate this bug, I had to run the distribution build on my device. This was accomplished following MrMage's advice, which told me to change the certificate to the devel...

Error from debugger:failed to launch simulated application: unknown error

Hy all i tried to run my application on simulator_3.0,but in debugging its gonna hang iphone simulator & its not gonna show something even i did not get any error details. So help me ........Aamir Shaaz ...

Django debug display all variables of a page

Is there a template tag (or any other trick) I can use to display all the variables available in a page? ...

Debugging the dreaded 'Application has failed to initialize' error

I occasionally run into this error when trying run an executable I've built on windows, but I have no idea what causes it or how to fix it. With the normal MSVC debugger, it just pops up a dialog and exits with no chance to do anything or look at anything. I've managed to at least catch something and get a stack trace with the Microsof...

iPhone app crash logs -- How can I use them to debug my app?

I'm not an expert in programming in general. I can find my way around Objective-C and Xcode and build working apps with no huge problems but when BUGs arise I'm often lost as to where to begin. My app works fine on the sim but more often-than-is-comfortable it crashes on the device. I looked at the crash log to see if there was any clu...

I can't figure out what's wrong

I'm getting this message in error console: Error: uncaught exception: [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: chrome://global/content/bindings/autocomplete.xml :: onxblpopuphiding :: line 834" data: no] I checked everything I'v...

Cookie being reset / wiped out

I have developed a web app using asp.net mvc. I've deployed it onto the server and experiencing a problem I didn't get when developing the website locally. When I log into the website I navigate through and its fine. However if I leave it a while then try and navigate again I am logged out and redirected to the login page. I'm using th...

Odd duplicate symbols error

For a school project, the class was asked to write a String class to mimic the STL string class. I have all the code written, but the linker seems to be caught up on one of my operators. There are three files, String.h, String.cpp, and test2.cpp My Makefile looks like CC=gcc CXX=g++ CXXFLAGS+=-Wall -Wextra LDLIBS+=-lstdc++ all:test2...

How can I view XMLHttpRequests in IE 8?

Firstly, apologies if this is a duplicate. I've searched and looked at related questions but haven't found this question. I'm debugging an AJAX problem in IE8. My throbber seems to spin forever, and on the on completion callback for my AJAX (jQuery's $.getJson()) it is meant to disappear. Of course, it works fine in Firefox / Safari. Ho...

How do you efficiently debug reference count problems in shared memory?

Assume you have a reference counted object in shared memory. The reference count represents the number of processes using the object, and processes are responsible for incrementing and decrementing the count via atomic instructions, so the reference count itself is in shared memory as well (it could be a field of the object, or the objec...

Modifying JPEGImagesToMovie File

So after receiving only a few recommendations for a Java package to use to create video files, I decided I would try to modify the JPEGImagesToMovie file that comes as a sample with the JMF. I managed to get everything compiling and seems like it should run. The new class should take a Vector of BufferedImages, then instead of reading fr...

IPhone debugger attachment didn't show any log when "wait for next launch" activated.

I'm developing some features with push notifications. To debug this, I checked "wait for next launch/push notification" in Active Executable. It's working; however no log is displayed in this mode. Did anyone know any hint about this? Thanks. ...

gdb: breakpoint when register will have value 0xffaa

Can I set the breakpoint/watchpoint/smth else in gdb for register value? I want to break when $eax will have value 0x0000ffaa. Is it possible with gdb or dbx or any other unix debugger? ...

Show HTML errors in Google Chrome?

Can Google Chrome show HTML errors (e.g. unclosed tags)? If so, how does one do it? Thanks ...

Visual studio 2008 wont debug unit tests anymore. It used to work fine.

Hi All, I have a project that uses Visual Studio test suite. One day I opened another instance of Visual Studio with a project that was using NUnit. I looked at and ran a few of the Unit Tests in that project and now my Visual Studio Unit tests are no longer working. Everything just passes. I cannot hit a break point or anything. Someth...

Element Inspector in Visual Studio

Hey, I accidentally closed that window in VS that you can use to inspect variables and the like, and I can't find anywhere to get it back; where do I find it? Thanks. ...