firebug

jQuery eval of ajax inline script not throwing errors

http://stackoverflow.com/questions/606794/debugging-ajax-code-with-firebug This question is quite similar, though old and without real answers. I'm currently putting together an app that has scripts that get loaded in with an ajax request. An example: var main = _main.get(); main.load( someurl ); Where someurl is a page that contai...

firebug is not displaying Complete js file to debug,to place breka points

HI all, Firebug is not displaying Complete js file to debug. I m unable to place break points at particular line in js file, half of the file content is display, half of file content is not displaying. please help me what to do to place break points at particular line which can visible line.that js file is gwt compiler generated file. ...

Debugging javascript with eclipse

What is the best way to debug javascript from the eclipse IDE. I used "logging to console" features of firebug with firephp installed on top of it for debugging a kohana php project along with eclipse but they make the browser unstable when I make extensive use of jQuery. For example, "Permission denied to...a non-chrome context..." is ...

Is there any way to use jQuery like Ruby in IRB mode?

I love using irb to quickly check how my ruby code reacts. Im wondering is there a way to do the same say in Firebug or soem other tool? ...

How do I get the CSS of this element?

http://www.zurb.com/blog_uploads/0000/0617/buttons-03.html Is you go to this website. Scroll down to "Using the Button Element". Then the first black button called "Super Awesome button" What is the full CSS for this? Just one class. I want all the attributes of this. Is there any way to see it , just one class? In firebug it has a ...

Color sampler, like firebug, but for image text

I use firebug to check colors on webpages, but sometimes the color is from an image. Is there a firefox plugin like firebug that can act as a color sampler this way? ...

In .NET, how do I prevent, or handle, tampering with form data of disabled fields before submission?

Hi, If a disabled drop-down list is dynamically rendered to the page, it is still possible to use Firebug, or another tool, to tamper with the submitted value, and to remove the "disabled" HTML attribute. This code: protected override void OnLoad(EventArgs e) { var ddlTest = new DropDownList() {ID="ddlTest", Enabled = false...

How can I debug why this click handler never fires?

I am going to be excrutiatingly detailed here. I am using Firefox 3.6.3 on Max OSX with Firebug 1.5.3. I have two versions of a project, one which works and one with a bug. One I downloaded and one I typed by hand. Take a guess which one doesn't work. They should be the same except that mine uses a newer version of jQuery and the ...

Assigning console.log to another object (Webkit issue)

I wanted to keep my logging statements as short as possible while preventing console from being accessed when it doesn't exist; I came up with the following solution: var _ = {}; if (console) { _.log = console.debug; } else { _.log = function() { } } To me, this seems quite elegant, and it works great in Firefox 3.6 (including...

Firebug not showing ajax requests

I have all tabs enabled... like a week ago it just stopped showing ajax requests in the console.... I'm not sure what to do about it. Any ideas on what I can do to fix it? Update When I use console.log(el); it says console is undefined as well. ...

Is it possible to stop a javascript with Firebug without using breakpoints?

Is it possible with Firebug to stop a javascript with a press of a button or a keyboard shortcut instead of stopping it by setting a breakpoint? Why would I like to do this? We have a very dynamic website with lots of animations. It would be a great help if I could just stop the scripts at the moment the animation is doing something I w...

Can I tweak a page's appearance using Google Chrome's developer tools?

When I'm working on a web page layout, I often use Firefox and Firebug to tweak the CSS until it looks right, then modify my style sheet to match. Right now, I'm trying to fix something that looks fine in other browsers but wrong in Google Chrome. I have pulled up Chrome's Developer Tools, and can inspect the computed style, but don't s...

Inheritance of list-style-type property in Firefox (bug in Firebug?)

Let's have a look at some comments 1) on a page generated by Wordpress (it's not a site I maintain, I'm just wondering what's going on here). As these pages might disappear in the near future, I've put some screenshots online. Here's what I saw: Obviously, the list-item markers shouldn't be there. So I decided to look at the source us...

Is it possible to make a Firebug console automation?

I want to automate actions in firebug JavaScript console. ie. Is it possible to load a page from url in firefox then after the page is loaded run a js code in console? I have googled for solutions and found one:Running_Automated_Test_Suite with FBTest is there any other ways to do that? Which one is easier? Some ways w/ windows cmd-lin...

Firefox add-on for examining z-indexes

I'm working on a fairly large site and am having trouble managing z-indexes. Is there a Firefox add-on that will look at a page and give me an ordered list of every element with a z-index declared? That would save a ton of times for the cases where a z-index was wrong or hard to find. ...

Why doesn't javascript function aliasing work?

I have some Firebug console function calls that I wanted to disable when Firebug wasn't enabled, e.g. console isn't defined. This works fine in IE6 and FF3, but not in Chrome: var log; if(console){ log = console.log; }else{ log = function(){ return; } } I get an "Uncaught TypeError: Illegal Invocation" in Chrome =/ I read about ...

Firebug not showing Javascript errors for Rails applications

I have a Rails application, and when I have Javascript errors they are not showing in the Firebug console. I have 'Show javascript errors' and 'Show javascript warnings' selected. When I insert javascript errors in a basic html file, the errors show as expected. In the javascript of the Rails app, it only shows errors in rare cases. F...

Internet Explorer Console

Is there a console logger for IE? I'm trying to log a bunch of tests/assertions to the console but I can't do this in IE. ...

Javascript debugging: stopping/breaking at every javascript invocation

I am dealing with a complex legacy javascript code base, and it's difficult to figure out where to put breakpoint (I have to find the files, put a breakpoint in firebug etc). Is there a way so that Firebug breaks on the first javascript execution that it encounters every time? In other words, every time I click on something on the pag...

jQuery code doesn't work when normally run. But i does with breakpoints activated.

Hi, I have the following code in my application: $(".deleteproduct").click(function() { id = this.id; alert("id: " + id); }); If i run my site nothing happens when I click on an element with the class deleteproduct. But when I place breakpoints before line 1,2 and 3 it works like a charm. The elements with class deleteproduc...