debugging

Flash: Debugging unexplained sprites?

I've been trying to debug a strange white rectangle that is appearing in my Flash application: The standard debugging tools — binary search, breakpoints, hg bisect — have lead to dead ends. Any suggestions tools I could use to debug this? Is there something like Firebug's inspector, which lets you mouse over HTML DOM elements to get ...

Is it possible to debug a ASP.NET Web Application that's not started from within Visual Studio?

The default ASP.NET web server that launches from within Visual Studio (Casini) is a little buggy on my development machine, so I like to publish to a local IIS instance on my dev machine and look at the web application there. However, I'm not automatically in "Debug Mode" when I launch the application this way. I know that VS 2010 has...

unable Debug a service in VS2005 on windows7

Hi, I have windows service project in VS2005 which was developed on XP platform. For Debugging i used the following code #if (DEBUG) Debugger.Launch(); #endif This worked fine and it opened up dialog to select the instance of Visual Studio that has the Windows Service project open and i could debug it. No...

SQL Server 2000 error

When I run my .net app connected to SQL Server 2000, I get the error "invalid Floating Point Operation". I did search for the error cause http://fugato.net/2005/02/08/sql-server-nastiness found this link which says there may be Bogus Data in one of the columns. I have a backup from a month old data, when I connect to the old database it...

jQuery Linked Selectors Not Showing? - What's wrong with this snippet?

Why isn't this snippet showing "YES" in the div id = debug after each item in id=box is clicked and placed in id=que. (assigned class click2Remove) then clicked again in que? ? <script> var idcurrent = 0; $(document).ready(function() { $(".click2Select").click(function() { idcurrent = this.id; $("#" + idcurr...

PHP Variables show blank if in html. MYSTERY

Hey Guys, I have a crazy situation that I cannot figure out: I have this string: $description = "<a href='".$link."'><img src='".$image."' border=0 ></a>".$description; and sometimes the printout looks like this: <a href='http://www.domain.com'&gt;&lt;img src='http://www.domain.com/image.jpg' border=0 ></a> Other Text and other t...

Which typo is hardest to catch or debug?

Hi everyone, This is a general question. I wanted to know from your experience which typos are the hardest to find or debug in your code. A back story would be nice :) Thanks! ...

Debugging PHP/Zend Framework web apps

i am using Zend Framework. some techniques i use currently Zend_Debug::dump() (+die()) Zend_Log: to firebug/firephp i particularly like the log to firebug, but when logging large objects, eg. doctrine 2 models (with many associated objects etc), i find that it slows down and crashes alot. what alternatives are out there? i curre...

Ruby on Rails: Problems debuggin an app

Hey everybody, I am having problems in order to debug an app using ruby-debug with RadRails. I try to install the gem with gem install ruby-debug19 -as I am using Ruby 1.9.1-p249 but I get the following error: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:>gem install ruby-deb...

list index out of range error received

hey guys, beginner here. I have written a program that outputs files to .txt's and am using another to read them and use them. i have used a list to store these values (len(..) gives me 100 for all files). However, whenever i run this: for w in range(1,20): # i want files file01-file20 excluding file00 for x in range(100): c...

How to find out where performance of an ASP.NET 1.1 webserver leaks to (outside of page renderings)

I got a problem with a system running on ASP.NET 1.1. It's a topic right now, but actually it's a recurring issue: Sometimes, the system will become extremely slow, and I wonder if there's a tool to find out what's going on. I know that sounds vague, but that's exactly what my problem is about. The thing is, I can time of course my scr...

How to debug Greasemonkey script with the Firebug extension ?

Hi, I didn't find a way to debug Greasemonkey scripts with the Firebug extension. Does anyone know how to do this ? Thanks. ...

Can I debug an Exe

I need to compare few function calls and signature between my application and an working application. Here I don't mean any way to reverse engineer or access the source code of the other application , but truly need to know what are the methods , Interfaces used by the working application. I tried attaching my application to Visual Stud...

How can I debug an IE8 crash?

Hello all, Is there a good way to debug the cause of an IE8 crash? We have a web site that a simple AJAX feature: A text box with corresponding button, onclick event fires JS event. JS event calls a .NET service (code below) The code works fine in FF, Chrome, Opera, Safari, IE7, IE8 running in compatibility mode. However running IE...

Copying Data from DataSet Visualizer

I am using VS 2008.During debugging I want to copy all the rows from DataSet Visualizer to excel sheet. How to achieve it? ...

Expressions which always return true (and the compiler doesn't know)

When experimenting I often use if (true) {..} or if (false) {..} to section off chunks of code I'm playing with. The problem is that compilers these days sometimes issue a warning about unreachable code. I then have to promote my code to something like if ((10 % 2) == 0), but then some smarter compilers catch this as unreachable too.. ...

a bug related to While and For loops in javascript...!!!

Dear all, I have some trouble as simple as debugging a for loop or a while loop. Do you have any clue? a function that returns data without any iteration works fine but not the loop. <script language = "javascript"> function h(arr) { <![CDATA[ var ref = arr[0]; i = 0 while(i<arr.length){ ...

How do I create a breakpoint at a specific place without there being any code after it.

Hi , I am creating breakpoints to debug my java application , and am using netbeans 6.8 (if this is relevant). Basically the problem I have is that when I set a breakpoint and debug the program will break before it executes the code at that line. So for example if I have the following. public static void someMethod() { Object iWantT...

Matching local javascript file to remote file for debugging in visual studio

I am working on a project in which javascript files are dynamically loaded into a page by the server using a python script. I am trying to use visual studio to debug these javascript files by attaching to the appropriate IE process for the loaded page and using the script debugger. The problem is that IE and Visual Studio identify the ...

How to know which jars are the unsigned?

jarsigner -verify -verbose -certs /Users/simpatico/ws/MemoPlatform/application/target/webstart/foo/org-netbeans-modules-xml-retriever/org-netbeans-modules-xml-retriever.jar Returns that the jar is indeed signed: ... smk 4996 Mon Aug 02 14:20:54 AST 2010 org/netbeans/modules/xml/retriever/impl/Util.class X.509, CN=Gabriele, ...