FireBug 1.7.3 still breaks on removed breakpoint - firefox

There's a bug in FireBug: I accidentally clicked where the line numbers are, which sets a breakpoint. So I clicked again to remove it. Now it's breaking there every single time. And I've tried setting/removing a breakpoint, but it doesn't work. I've even tried clicking the pause icon, which I see suggested elsewhere, but it does nothing -- it doesn't even change. I've even tried setting it to be a conditional breakpoint that is always false so it should never fire. No cigar. I even tried uninstalling FireBug and reinstalling it!
(Please note that I am using FireBug 1.7.3 with FireFox 3.6.25, and have to for a reason, and cannot upgrade.)
[I'd post an image, but I cannot until I have 10 rep pts!]
How can I remove all breakpoints?
Do I have to uninstall / reinstall?

Try this:
In Firefox, go to URL about:support
Check the Profile Directory
Open containing folder
Go into folder firebug
Delete breakpoints.json

I am having the same issue with Firefox 79.0. Since the breakpoints.json does not exist anymore in this version (how does firebug keep track of its breakpoints now?), I tried
In Firefox, go to URL about:support
Click "Refresh Firefox"
This resets everything to default (language etc.) but also removed "ghost breakpoints".

I think I managed to fix this for newer Firefox versions, that, as was mentioned above, don't have the breakpoints.json anymore.
Open the Profile folder
Navigate to the storage\permanent folder
Close Firefox
Delete the indexeddb+++fx-devtools folder
The deleted folder will be generated again, so don't worry.
You'll probably lose some configuration on the devtools, but it's better than refreshing your entire browser.

Related

Firefox debugger breakpoint not working

When I click on a line to set a break point, the break point line gets highlighted, then the break point highlight disappears.
Other than that, Firefox developer debug has been working fine.
This might help people in the future without having to modify any js file:
Have you clicked the Deactivate breakpoints button? Pressing this will toggle breakpoints on/off.
If the icon is in blue, it means the breakpoints will be de-activated.
Note: I have noticed that in some sessions the toggle is activated although not blue, a refresh of the page solved this.
This just happened to me in Firefox 60.3.0. The tip about removing the Mozilla folder led me to a better solution, which is to edit the prefs.js file in the Mozilla profile folder. (In my system this was in C:\Users\xxx\AppData\Roaming\Mozilla\Firefox\Profiles\xxx.default)
I deleted all of the lines in prefs.js that began with
user_pref("devtools.
e.g.
user_pref("devtools.toolsidebar-height.inspector", 350);
user_pref("devtools.toolsidebar-width.inspector", 350);
This fixed the problem while preserving all my bookmarks, saved passwords, etc. The lines in prefs.js were recreated when I next ran the debugger.
I my case I have mistakenly enabled 'Blackbox source' on a file (in right click menu). When I disabled it then the breakponts works again.
I just encountered the same problem - Firefox Quantum 60 on Ubuntu.
Solution for me was to delete the ~/.mozilla folder for my account. Lost all my bookmarks, history, settings, etc., but can now set breakpoints again.
In my case it was 2 check-boxes to check:
I ran into this problem, or a variant of it as well. For me, it was because webpack was defaulting to setting devtool to "eval". This broke stopping at breakpoints in Firefox for me. Changing that setting to "source-map" resolved the issue, though I suspect most other non-eval options would work fine as well.
I noticed this because I looked in the generated JS file and noticed everything was put into eval() calls.
Also, check the console for errors. I've experienced this issue (can't set a breakpoint) when there is an error elsewhere in the page..
I just stumbled across a similar problem. In my case, it was the eye on the lower left of the debugger window.
The breakpoint vanishes after clicking the eye:
Update:
And another way to blackbox a source:

Firebug command line & editor not working

When I type few commands like this:
$("#popup").click();
var x = 1;
x;
the commands are simply copied to the prompt window.
They are not executed !
What is wrong with my Firebug (Firefox) addon, please ?
Firefox v 43, Firebug v2.0.12b1
but with Chrome everything works fine
According to a thread in the Firebug forum, this may be caused by a conflict with other extensions. The extensions named there are:
Wappalyzer
Ghostery 5.2.1
The easiest Xdebug 1.2
Skype Click to Call
A Greasemonkey script
Nimbus Screen Capture
1Password
Coupons at Checkout
So, if you have one of those extensions installed or a Greasemonkey script running, disabling it and try it again.
If that doesn't help, I suggest you follow the steps described in the Firebug first aid page and report that bug. The steps are:
Open the Firefox Error Console (Ctrl/⌘+Shift+J). Any errors related to Firebug? Copy them and remember to include them in your report.
Create a new profile, install Firebug, reproduce the problem. Still a bug? Report the problem, else
Return to your previous profile, open the Add-ons Manager via Ctrl/⌘+Shift+A or Firefox menu button > Add-ons or about:addons to disable all extensions except Firebug. Solved? Enable the other extensions again one by one until you find the buggy one and report it, else
Open the troubleshooting information via Firefox menu button > ? > Troubleshooting Information, click Show Folder, open prefs.js in a text editor, copy all lines containing extensions.firebug into a separate text file, reset all options (via Firebug icon menu (upper left corner) > Options > Reset All Firebug Options), reproduce the problem. Solved? Report the problem attaching the created file, else
In the profile folder go to firebug/, move the file breakpoints.json (if it doesn't exist, go to step 4) out of that folder, reproduce the problem. Solved? Report the problem attaching your breakpoints.json (Attention: breakpoints.json contains the URLs of all breakpoints you set, so make sure there's nothing, that shouldn't be public), else
In the profile folder under firebug/ move the file annotations.json (if it doesn't exist, go to step 5) out of that folder, reproduce the problem. Solved? Report the problem attaching your annotations.json (Attention: annotations.json contains the URLs of all pages you enabled Firebug for, so make sure there's nothing, that shouldn't be public)

get to bottom of page in Chrome with Keyboard-shortcut

I used to get to the bottom of a webpage by pressing CMD+Keydown. Did they remove this shortcut or is it just me?
I know this used to work not too long ago and it's not working since one of the newer versions... (currently Version 31.0.1650.57)
CMD+Keyup still works just fine.
So I finally got around the problem:
An extension I was using got some automatic update, in this it used CMD+Keydown as a shortcut for the extension, which overwrote the default behavior.
The problem hereby was, that the programmer was not done, so he "seized" the shortcut, but was not using it for anything.
Now after more than 2 months, after an other automatic update, the shortcut triggered something in this extension, so I could find out what was causing the shortcut not to work.
Then I just disabled that shortcut for said extension. All working now :D

Unable to set breakpoints in Chrome dev tools, version 26.0.1410.64 m

I need to debug some JavaScript an' I use Chrome dev tools. I'm a newby in JavaScript (just started to learn a couple of days ago), an' at work I could set breakpoints via the Resources pane. But at home for some reason I can't do this: after the click no breakpoint appeares.
I have Chrome version: 26.0.1410.64 m.
What could be the case?
clicking on the De-Obfuscate Source button (i.e. {}) solved this issue for me.
I'm a fool! haha! breakpoints are set in the Source pane )))
It's been a while, but in version 33.0.1750.146, but my problem was that I was on the Sources pane (I'd call this a tab; it's one of the items at the very top of the window), but I was on the Content scripts tab (on the left hand side). I needed to switch to the Sources tab.
To be clear, there are two sets of Sources tabs; one is within the other.
UPDATE 2016-01-07: Now I'm on 47.0.2526.106. The only thing that worked for me today was to close DevTools and re-open. It was a little finicky. It worked once, then stopped, and I had to close the DevTools and re-open again. I saw #johntrepreneur's answer about closing the browser, but unfortunately I have too many tabs open on too many workspaces, so that's too much of a pain, so I didn't try that, although I have to assume that would work.
Other solutions didn't work for me. Had to close and restart browser to be able to set breakpoints again.
This also happens when there is a JS error in your code.
Some sort of weird built in function in windows 10 i think because I did press a few buttons by accident. Some of my keys even stopped working in certain areas of visual studio. F.e the letter "c" stopped working in the find window.
Mine did this and no solution worked, i pressed alt, windows key and function key a few times and my problem went away.
Fixed as follows: For me, the issue stems from having set up Chrome to interact with operating system files. If you set this up, then the fact is evident from a green dot by the file name. At some point, I could not set a breakpoint in a recently edited file. I fixed this by disconnecting the interaction, as follows: When viewing "sources", above the code, there were some file names listed. Clicking the [x] to make the particular filename go away gave a caution message; I proceeded without saving. After that, I was able to set breakpoints for that file.
I also had this problem. However, once I closed the popup message in my browser, suddenly all my breakpoints that I set in that time appeared. Mental note: Don't set breakpoints while your app is showing a popup.
I couldn't find any direct fix for this problem.
It seems that chrome keeps settings of your site stored somewhere whatever you do to clean it. (I tried removing the folder from workspace, closing et reopening chrome etc... and nothing worked).
A workaround is to change your site's url to make chrome consider it a new site

firebug come home?

For a couple of days I had noticed that the "script" tab of firebug had not been working. I ignored it because I wasn't working with javascript at the time.
Then the day came I was going to need that script panel, which still wasn't working, so I decided to reinstall firebug.
And now, when it's installed, it's just plain gone. No icon that I can see, neither on the bottom bar nor the top bar. No mention of it in the tool menu. The only evidence it's installed is an entry in the extensions list and a file in the extensions folder.
I've tried googling but have not fond anything that sounds like my issue.
I'm using firefox 6 on Windows XP.
For some reason, Firebug changed it's toolbar button (and removed the old one) from the old bug to a blue default cursor over a width, short box. Right-click on a toolbar, select Customize, and look for the icon next to the bug at the large picture of Firebug at top of this page:
http://getfirebug.com/html
This is the button you're looking for (download the raw file to view):
http://code.google.com/p/fbug/source/browse/branches/firebug1.9/skin/classic/inspect.png
You might try checking if it's profile-specific to start:
http://support.mozilla.com/en-US/kb/Managing-profiles
Try disabling any other extensions you have installed?

Resources