I have RFTM'ed Firebug's documentation and made this question longer so that SO will allow me to submit it.
Is there a keyboard command to clear the console in Firebug?
Ctrl+Shift+R, or Alt+R in 2.0 alphas. You can see it by opening the "Customize Shortcuts" dialog.
You can get that info from the shortcuts page on the Firebug wiki.
Related
I understand it may be possible in the "sources" tab, but how about the console tab? I find it supereasy to test stuff there, and quickly aligning / indenting code would be fab. Related answer for the sources tab:
Write JavaScript in Chrome developer tools
There's currently no way to auto-indent a selection of text in the Console.
The Console's built off of CodeMirror though, which does have support for that feature, so it's possible this could get added in the future. CodeMirror's keyboard shortcut for auto-indent is Shift+Tab.
You can post to the mailing list to request the feature.
Today I learned about Google Chrome's ability to set up workspaces and map them to your local resources. This works perfectly in the Sources tab, but I'd like to be able to edit the css in the Elements > Styles tab so that I can see the changes as I make them. Otherwise I might as well just copy them into my editor since I have to reload the page to see the changes.
Is it possible to save changes from the Elements tab? I'd like the functionality similar to Chrome DevTools Autosave if it is built into Chrome already.
This is the same question as Chrome Workspaces - Saves changes in Sources tab but not Elements, but none of the solutions work for me.
The new, experimental Workspaces 2.0 handles it the way you're looking for.
Download Chrome Canary.
Enable DevTools Experiments.
Open DevTools.
Open Command Menu.
Type Settings and press Enter.
Go to Experiments tab.
Enable Persistence 2.0.
Restart Chrome.
Add folder to workspace
Map to File System Resource…
Change the styles in Elements Tab, after that enter Tab or enter
After these steps, all your change are in your local mapped files.
I have an AJAX TabContainer in update panel which have menus. when I try to switch those menus it never switch the menu stays on same page.
Following error caught by javascript.
How to find exact error line number. It wont allow me to debug too..!
Please help!
Help appreciated!
Use IE developer tools (Open IE and hit F12).
Make sure to select the Debugger tab in the developer tools window.
I'm very used to option clicking on something in XCode, and then clicking the "notebook" icon in the top right, to bring up the appropriate documentation (see the image below).
Where has this icon gone in XCode 4.5? (i.e. how do I get to the documentation in 4.5?)
If you click on the link in the reference section of the popup, it will take you to the documentation section of organizer. I'm not sure if this is what you are looking for as I have never used the feature pre 4.5. Just tested this on my computer and it worked though.
What's the best way to put the "debugger;" statement inside the __doPostBack method or a way to step in the method?
__doPastBack is still javascript running in the browser.
While it's possible to debug javascript using visual studio and IE, if you want to set a break point you need to be able to open the javascript in visual studio. You can' do that for __doPostBack because it's generated by the compiler.
However, if you view the page in firefox you can use the firebug extension to set break points in the browser after the page loads.
You can manually attach to the iexplore.exe process as Script debugger and set the breakpoint accordingly on generated page. Or you could break into debugger anytime by selecting the option from menu if you had enabled script debugging in advanced tab in Internet options
In IE you can go to internet settings -> advanced -> and uncheck the "Disable Javascript debugging" boxes. This will allow you to put a breakpoint in the JS code.
It really is just a lot easier to use FireBug inside of FireFox and you don't have to go through a lot of nonsense.
Another option for JS debugging and FireFox (which I use a lot) is to use venkman. You can get it as FF extension right here.