debugging

HTML Layout debugging

I previously asked what tools there were for understanding HTML layout. I would like to be able to see lower level information than these tools make available. For example, I would like to be able to find out why an element was placed on a new line. If there aren't tools for doing this, then I was thinking that debugging information from...

Django url debugger

I'm developing a django application and over time, the URLs have grown. I have a lot of them with me now and due to some change I made, one view started to malfunction. When I try to GET http://example.com/foo/edit_profile, it's supposed to execute a view certain view function X but it's executing Y instead. Somewhere the url routing is ...

Resource access graph of a running process in Windows 7

I want a visual tool to see all the files(in my file system) that a running process on the Windows 7 operating system accesses during execution and construct a visual representation. Is there a debugging / standalone tool which can allow that?` ...

IE 6.0 crashing when printing from my web application

When clicking on print button the second time from my app, IE 6.0 is crashing. Steps to reproduce: 1) Click on print Button and cancel the print dialog. 2) Click on print again. IE 6.0 crashes. It works fine in IE 7 & 8. Below is the stack trace i got from WinDbg. Microsoft (R) Windows Debugger Version 6.11.0001.404 X86 Copyright...

equivalent to firebug in IE

Hello, what is the equivalent debug tool to FireFox firebug in Internet Explorer ? thanks EDIT: What is this tool ? ...

How to skip assembly code when debugging?

Hi, Sometimes when I use the debugger to step through my code, it goes into some assembly code (I guess I've stepped into some system library code). The question is, how can I skip over it and jump to the nearest c++ code of my project? ...

How to run R script with gdb attached?

I have an R script that's usually started from the command line with arguments: ./script.R --width=10 It uses Rscript as interpreter: #!/usr/bin/env Rscript Unfortunately it gives me a segmentation fault when it executes my compiled C code in R using .C("compiled_function"). So how can I run my R script with the gdb debugger atta...

problems in starting a script in WinDbg

hi all I am trying to run a WinDebug script but I cannot. The script I have is preatty simple and called DBG_SCRIPT.txt in the same folder where WinDbg is located. It has the following code that basically starts a debug session. .echo "hi I am starting debugging" g I tried the following command line but it doesn't start. windbg c:...

Big delay in debug mode on application start when custom splash is defined In Visual Studio 2010. WPF application.

Hi, I have a very strange problem, that seems like a Visual Studio 2010 bug. I have Windows 7 OS. Framework 3.5, VS 2010. I have a simple splash, defined in property of some image. I run in debug mode WPF application, that is used NHibernate and ActiveRecord (unmanaged code). The application is freezes for some time (depends of amount...

Monitor RunTime behavior of a DLL

Hi, I am using a self made dll using VC++ in C#. I wanted to ask, is there any way by which I could monitor the run time performance the dll. Like, once the C# code has made a call to the dll and once when it is loaded, can I monitor the behavior of the dll? I am in development phase and the dll code-logic when run independently, ru...

Fancybox iFrame Links Bound / Null Response

I've got http://fancybox.net running on http://shimmiesforthecure.org. For some reason, it's not working at all, I checked the header and it verifies that all CSS and javascript files are loaded, I'm using the same call to initiate the script that I always do, yet nothing. I know it's working somehow, because it's binding the links (th...

jQTouch excute javascript code when going to next page

Hey, I have been working on an iPhone app that requires me to dynamically change the content. I have the following code: <div id="home"> <div class="toolbar"> <a class="blueButton" href="javascript: void(0);" onClick="$('#logout').show();">Logout</a> <h1>AllaccessMD</h1> </div> <h1>...

Any negative outcome from writing a function body on a separate line?

I'm reviewing our Visual C++ code base and see lots of helper functions with really short bodies. Like for example this: inline int max( int a, int b ) { return a > b ? a : b; } the problem is when code is debugged in Visual Studio debugger it's impossible to immediately see what a and b are upon entering the function with F11 ("step ...

Delphi: How to get the query that is passed to the server when parameters are used

I have a query with parameters inside a Devart TMSQuery.SQL. Something like select * from customers where customer = :CustomerID in code I do // Delphi sqlcustomer.ParamByName('CustomerID').asinteger := 4; sqlcustomer.open; I want to debug and see the exact sql command sent to the server, if I try to use TMSQuery.sql I just have th...

Silverlight Debugging in Visaul Studio stops working when open a new window

I have an aspx page that hosts a silverlight application. Debugging works fine and breakpoints in the silverlight app are hit when I go to the page directly but when I have the page launch in a new window from its hosting ASP.NET application the breakpoints stop getting hit. Any ideas? ...

debugging whilst pausing and 'cannot evaluate expression'

using VisualStudio2010; After attaching to a Process and pressing Pause (Break-All), you switch to the desired thread and use the Quick Watch window to check out some data, say MySingletonClass.Instance.Data Sometimes I either get this Cannot evaluate expression because the current thread is in a sleep, wait, or join or this (w...

How can I show a list of every thread running spawned by setTimeout/setInterval

Hi, I want to do this either by pure javascript or any sort of console in a browser or whatever. Is it possible? Thanks Further explanations: I want to debug a library that does animations. I want to know if there's multiple timers created if there are multiple objects being animated. ...

ASP.NET MVC: How to automatically disable [RequireHttps] on localhost?

I want my login page to be SSL only: [RequireHttps] public ActionResult Login() { if (Helper.LoggedIn) { Response.Redirect("/account/stats"); } return View(); } But obviously it doesn't work on localhost when I develop and debug my application. I don't wanna use IIS 7 with S...

Tool to let me draw on the screen or otherwise mark up open windows?

How often do you find yourself in this situation? You're deep into debugging something complex that involves a lot of very different moving parts. Your brain is splattered all over your screens. Many windows are open - some tiny notepads with bits of copy pasted debug gunk, editors of different kinds for scripts or other code, a diff to...

Why is my Dictionary adding extra escape characters to a string?

App.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="1" value="An error occured.\r\nPlease try again later." /> </appSettings> </configuration> Code: Dictionary<string, string> keyValuePairs = new Dictionary<string, string>(); string key = "1"; keyValuePairs.Add(key, ConfigurationManage...