Is there a way to determine a line from which XHR was issued in firebug or web inspector?

Is there a way to determine a line and filename from which XHR was issued in Firebug or Web Inspector (maybe Opera Dragonfly/IE Developers Toolbar)? If there isn't, what is the best way to find that out? Just searching the codebase for the URI called? (often it will be constructed, though)

-------------Problems Reply------------

In Developer Tools(chrome) you can set breakpoints for any XHR from the Script tab.

  • Script Tab
  • XHR Breakpoints(on right hand side)
  • Click the + and press return
  • A new item will be added saying "Any XHR"
  • Run the script and it will break on any XHR :-)

For Firebug you can start with

Category:javascript Views:0 Time:2011-03-01

Related post

  • Determine What Line a Function Was Executed From 2010-02-02

    This question already has an answer here: Get code line and file that's executing the current function in PHP? 2 answers I'm trying to build an error class and a lot of error classes I've looked at in the past use FILE and LINE to show where the erro

  • Determine what line ending is used in a text file 2010-06-10

    Whats the best way in C# to determine the line endings used in a text file (Unix, Windows, Mac)? --------------Solutions------------- Notice that text files may have inconsistent line endings. Your program should not choke on that. Using ReadLine on

  • How to determine all line segments from a list of points generated from a mouse gesture? 2010-07-06

    Currently I am interning at a software company and one of my tasks has been to implement the recognition of mouse gestures. One of the senior developers helped me get started and provided code/projects that uses the $1 Unistroke Recognizer http://dep

  • Determining Calling Line Without Macro 2010-10-27

    Is it possible to determine the line number that calls a function without the aid of a macro? Consider this code: #include <iostream> #define PrintLineWithMacro() \ std::cout << "Line: " << __LINE__ << std::endl; // Line 4 voi

  • determining the line terminator in Emacs 2008-10-24

    I'm writing a config file and I need to define if the process expects a windows format file or a unix format file. I've got a copy of the expected file - is there a way I can check if it uses \n or \r\n without exiting emacs? --------------Solutions-

  • How to determine a 'line-height' using Javascript (jQuery)? 2009-07-26

    Well, encountered the need of a line-height coding a plugin, so, can you give an advice, please? Thanks) --------------Solutions------------- You can't be assured to get a calculated line height in pixels cross-browser. Sometimes the value is 'normal

  • Determine the line of C code that causes a segmentation fault? 2010-05-20

    How do we determine where the mistake is in our code that causes a segmentation fault? After writing some code, to determine where I have a segmentation fault, can gcc show me my have a mistake (or typing error) in a particular line number -- because

  • Determine where line slope changes (algorithm) 2010-06-24

    If you plot the numbers below, you get a "volatility smile": the numbers follow one linear slope (the left slope), and then change to following another linear slope (the right slope). I have several sets of data like this and want to know where the s

  • determine whether line is entirely within path2d shape (in java) 2011-06-14

    I'm looking for the easiest/fastest (computationally) way to determine whether a shape, more specifically a GeneralPath object, contains any given line segment (of type Line2D.Double). GeneralPath has methods to determine whether a point or a rectang

  • Determining Source Line and File of function reference - How does Firebug do it? 2011-07-30

    Brief introduction: I'm attempting to get at line number of function definition for parsing documentation comments on only public stuff. I've gotten to the point where I can find the name of the function and if I so wanted I could execute the functio

  • Determine last line in Ruby 2011-10-24

    I'm wondering how I can determine when I am on the last line of a file that I reading in. My code looks like do |line| if(someway_to_determine_last_line) end I noticed that there is a file.eof? method, but how would I call t

  • iOS. Determine last line width of UILabel 2012-04-17

    guys! I have a label with multiple lines, lineBreakMode is set to UILineBreakModeWordWrap. How can I determine width of last line? Thanks --------------Solutions------------- Here's how I did it. First put your label's lines in NSArray, and then chec

  • Determine current line in a module 2012-08-30

    Thanks to Hans for answering my last question: "Determine current module." Perhaps you or someone else can tell me if there is a method for determining the current line I am on in a module, or better yet the current function I am within. So if I am i

  • determining where line in chart ends 2013-01-15

    Hi all, I want to determine automatically where a line in my chart ends, namely with the number in the cell that corresponds with the current month. In AJ37 I have =month(now)+20 which results in 26 and cell AO26 contains the amount for june (the cur

  • Determine Logical Line From Char Index (Winforms TextBox) 2010-03-03

    If I call textBox.GetLineFromCharIndex(int) in a TextBox with WordWrap = true, it returns the line index as the user sees it (wrapped lines count as multiple lines), not the line according to the line breaks. Line one extends to // <- word wrapped

  • Determine which line causes a program to crash 2012-02-07

    I have created a program and released it to the customer. They are running the exe and at times the program crashes unexpectedly and display the message: "... has encountered a problem and needs to close" I know I should have added code to han

  • Determine two line segment touching in T connection? 2012-09-07

    I have two line segments and I need to check if they are touching. Currently I am using the SpatialRelation. When a line is touching a circle, I can make the tolerance very small like .001". When I have a line segment touching another line segment at

  • How to determine which lines of CUDA use the most registers? 2011-08-19

    I have a somewhat complex kernel with the following stats: ptxas info : Compiling entry function 'my_kernel' for 'sm_21' ptxas info : Function properties for my_kernel 32 bytes stack frame, 64 bytes spill stores, 40 bytes spill loads ptxas info : Use

  • Determining Terminal lines/cols via PHP CLI 2012-04-15

    I know that it is quite easy to figure out a terminal's size parameters via the stty -a command. When using local CLI PHP scripts, there is no problem at all on grabbing that output via system() or so. But I am trying the same thing via a php script

Copyright (C), All Rights Reserved.

processed in 0.197 (s). 11 q(s)