debugging

How to use fiddler to debug?

I have a webpage when it finished on the left bottom there's a warning says:Done, but with errors on the page. I double click it and it told me: Line:628 Char:100 Error: Expected ')' Code: 0 URL:..... I knew Fiddler is a good tool to debug. I download it and try to debug. The line IE told me I just can't find anything that's missing ')'...

Inspecting the refcount of an NSObject in the Xcode debugger on iPhone?

This should be so simple, and yet, it is evading me: When stopped at a breakpoint in the Xcode/gdb debugger, I wish to find the current refcount of an object derived from NSObject. How can I do this? I can't seem to find a way, and it is driving me mad. ...

Inspection of Insert Statement When Using LINQ's SubmitChanges

Hi. I want to see what my insert statement would look like as if I was wiring up an text-based ADO.NET command. How do I do this? I have been following the below link: http://damieng.com/blog/2008/07/30/linq-to-sql-log-to-debug-window-file-memory-or-multiple-writers And have added the DebugTextWriter class to my project. So, now, i...

Visual Studio 2010 randomly unable to debug WCF service.

I'm running Visual Studio 2010 on a Windows 7 x64 machine, and occasionally VS is giving me the good old "The remote procedure could not be debugged.This usually indicates that debugging has not been enabled on the server" error that a lot of people ask about. My problem, though, is that it seems to only do this randomly(it can be anywh...

AIR2 NativeProcess to Java debugging

I'm using AIR2 NativeProcess API to communicate to Java process, but I don't know how to debug Java process when AIR send something to java process input, I want to continue debugging in Java (Eclipse). Is that somehow possible? ...

How to write a complex reporting system in a maintainable way AND have debugging capabilities on the production site?

Here is the scenario: I am currently working on a legacy reporting system for a company which collects data from sensors. The database (SQL-Server 2005) is fairly big (ca. 500 GB) with hundreds of MB’s being added every day. The system runs a series of nightly jobs in order to aggregate and transform the newly added data into a staging ...

Run multiple copies of an app from Visual Studio

How can I run multiple copies of the same app in Debug with Visual Studio? For instance, how do I run app.exe /option1 and app.exe /option2 and still debug both? I know I can run them manually and then attach, but I want an automated solution. I have tried writing a small console app just to run 2 processes, but obviously they are not b...

Global proxy for use in debugging GeoIP from multiple countries

I'm looking for a solution to test an application's response to people around the globe, based on IP. This would be a service where i could choose a country (or at least continent/some countries such as US, Japan, Germany..) and it would tunnel the traffic through a proxy there. To the server it would look like i'm somewhere far away and...

Why won't this Jquery run on IE?

Hello All, I have this Jquery code (function($){ $.expr[':'].linkingToImage = function(elem, index, match){ // This will return true if the specified attribute contains a valid link to an image: return !! ($(elem).attr(match[3]) && $(elem).attr(match[3]).match(/\.(gif|jpe?g|png|bmp)$/i)); }; $.fn.imgPreview = function(userDe...

unable to start debugging on the web server an authentication error occured while communicating with the server - VS2008 + IIS5.1

It seems lots of people are having the same problem, but with different error messages. the error message I get is... "unable to start debugging on the web server an authentication error occured while communicating with the server" there is a great link from MS detailing every other debugging error message except my one - http://msdn....

Is there a SWT debugger/spy?

I'm trying to debug my SWT dialog (in an Eclipse plugin.) I'd like to find out why the layout is the way it is, and where the borders are between the controls. I've seen the SWT Spy plugin (http://www.eclipse.org/swt/tools.php), but I'd like something more graphical. I'm basically looking for something similar to the way the WebKit de...

Website Causes Mobile Safari Crash (Replicable)

For some reason http://shirazraqs.com is causing mobile Safari to crash. I've never seen anything like it and it's 100% replicatable so it's a bug on the site. I've already tried ripping out all of the javascript but the bug persists even then. Any other troubleshooting advice? Better yet, has anyone heard of this? I've been unable ...

How to get permission to debug postgres?

I have a system that uses C methods as functions in a Postgres database. When I try to run gdb with my user account I get this: ptrace: Operation not permitted It looks like a permission thing. It seemed to work when I ran gdb as the "postgres" user. I would like to continue running postgres as the "postgres" user and not have to su ...

Command Line argument option not working on Visual C++ 2008

Hello, I am trying to pass command line parameters in Debug mode in one VC++ 2008 solution as described here Debugging with command-line parameters in Visual Studio. The thing is that somehow actually VC++ is not passing the parameteres because I always get 1 for "argc" variable. Is anything else that should be enabled or what could pre...

.NET - Is it possible to change the value of a variable during execution time?

Hello, I want to know if there is any way I can change the value of a variable during execution time, using Visual Studio 2008? I know I can do this on Eclipse (put a breakpoint, add a watcher and edit whatever variable value I want) but I didn't find this feature on VS yet? Any idea? Thanks ...

How to get a nice view of data structure in debugger?

I am debugging a Visual C++ project that uses Rogue Wave a lot. I would like to see content of RW containers easily, i.e. i want to see list elements instead of this: What are my options? Can autoexp.dat do this? ...

Debug a maven plugin's execution in a maven web-project

Hi all, Is there any way to actually debug a maven plugin while it is in action. What i mean is that for example we have the maven-clean-plugin. So when this plugin executes it's action can we somehow debug and check inside the source code of maven-clean-plugin? Obviously we would have to associate the java source for the plugin in ecl...

Step into Stored Proc gives "Canceled by User" in VS 2010 but works in VS 2008

I'm running a local instance of SQL 2008 standard on my workstation. Also have VS 2008 and VS 2010 installed on it. I've (for this test) disabled the Kaspersky AV and ensure windows firewall is off. When I debug a stored proc on my local SQL instance by right clicking and selecting "Step Into Stored Procedure" in VS 2008 it works. I ge...

Flex Builder debug problem

I am running on Windows XP and recently updated Flash Player from v9 to v10.1. And Now, in the Debug Console under Flex Builder, I am getting a lot of debug statements(I think that is assembly). Below is an example, of what I get: " active: eax(737-757) ecx(738-758) ebx(3-797) esi(728-756) @739 st 143112124(0) <- @3 09002830 mo...

How to make Eclipse Debug Output always show latest output lines

I'm debugging my PHP application, trying to see what HTML code is being generated while I trace through the code. Problem is, everytime the Debug Output window fills its window, it scrolls to the top, forcing me to scroll down to view the last few HTML lines generated. Is there a way to make Debug Output not scroll up ? The effect I'...