by deckard1 · 5y ago · 0 comments
Every developer from around 2006-2008 knows what I'm talking about. Debugging JS in IE6 was like trying to build a house blindfolded with both arms tied behind your back. Firebug is when JS went from just a web augmentation toy that could silently fail and your web page would still mostly function to becoming a critical function for a web page (many will see this as all a big mistake).
An accessible UI that honors the platform specific conventions and integrates into the OS environment?
Ever built an user-experience atop ideas like "form follows function" and "don't make me think", that has beautiful design at the same time?
I actually question that there are more than a handful Web-UIs been built in that way, ever, IF actually any!
Meanwhile, beauty is in the eye of the beholder. The modern webtech trends are offensive to my eyes - in addition to being ridiculously compute- and visual-space-inefficient.
I use my tablet occasionally for Numbers, but it never even occurs to me to try it on my phone.
Visual Studio (even back when it was called Visual Interdev) supported first-class script debugging with Internet Explorer going as far back as Internet Explorer 4. Ditto cscript/wscript.
It just wasn't popular (and few people knew about it) because most people doing front-end web-work _back then_ weren't using Visual Studio, and in general most people weren't doing back-end web-work in Visual Studio either because (pre-ASP.NET MVC), ASP.NET WebForms is, was, and ever-shall-be, godawful.
If I wanted to have a editable table (datagrid) control it literally took about 20 minutes and I had something working and people could use it.
The problem with it (much like Angular which btw is basically webforms for JavaScript) is that it required you learning how the event lifecycle worked properly. Whereas other things at the time were web scripts and you could just hack against.
It of course had a lot of problems (like everything on the web at the time) but for what it was actually intended for, it was actually really good.
Other complaints about WebForms weren’t inherent to its architecture and should have been corrected early on, such as the lack of testability and over-use of [ThreadLocal] storage, and the nigh-impossibility of running WebForms outside of IIS, but these were never properly addressed by Microsoft, instead we had ugly band-aids like “BaseHttpRequest” and “HttpRequestWrapper”. Le sigh.
While the HTML is awful in earlier versions was IME of no concern. Most intranet apps just need to be functional not slick. I am sure it served different HTML based on the user-agent but I could be mis-remembering now as it was well over 15 years ago.
The lack of being able to run it on anything other than IIS isn't a concern. Most places using WebForms were Microsoft shops and whatever your opinion of IIS and Windows server maybe they weren't going to be running their ASP.NET app on a Linux server.
Most of the problems I've encountered was when people tried getting around the framework itself and rebuilding what already worked quite well within the framework (many people used to use large string builder objects in the code behind files in the page load event rather than using Web Components and building their custom HTML in there, I suspect it was because they didn't understand the Page/Component lifecycle).
I'm actually trying to get away from using .NET entirely (I am bored of the language, the frameworks and most importantly I don't like working with the developers who can't do anything outside of Visual Studio to save their life). But I do think the framework get unfairly maligned because of the quality of programmers that were using it. It is the same with VB.NET, the language isn't the best but the RAD aspect of it hasn't been bettered by anything IME.
I’ll add that to the other valid reasons that you mention.
Support for CSS "debugging" was completely absent, yes.
JS ignores the value of every statement in a comma-separated expression except the last one. So you can do trash like this:
const foo = (bar) => (
console.log(bar),
someComputationOf(bar)
);
And log-debug without restructuring your otherwise pure function.I take stackoverflow and blogs for granted.
I did have a hand-rolled blog back then (The Hole Report) but was busy writing about magic tournaments and didn’t think anyone else cared about javascript hacks.
Fortunately another bad feature of IE was to alert() the errors, so customers were aware of each of them and could easily send us the bug back...
This bank employee used PrintScreen to print the screenshot on paper. He the successfully faxed it to his email, zipped it and uploaded it to our bugtracker. I had the zip of a .tiff of a scan of a printed screen. I still wonder whether he did it because he was upset, or whether it was a usual workflow.
I worked at Amazon during this time on our custom web server and before that I had been using telnet to hand type my commands or various perl scripts I wrote to emulate a browser's requests. And... ugh, tcpdump to figure out what exactly browsers were sending before they got to apache.
Firebug was like magic!
It's still really good!
To be clear I mean that Visual Studio had a C/C++ debugger but outside of that most languages that I used in any other situation were missing good debuggers.
1. The "hidden" element at the root of the IE DOM tree, only accessible with "*" via CSS
2. inline-block was broken on IE6 (but fixable with hacks), and no transparent PNG support.
3. The outline CS property was implemented the same as background in IE
Best of all was the dog slow IE 6 JavaScript interpreter, which was like 50x slower than Firefox and IE 7+.
TBH I found cross platform development during that time easier than when smart mobile phones came out. There was about 20-30 slightly incompatible forks of the Android Browser/Webkit and the processors were slow and everything was JS. Blackberry OS was still a thing. I also don't miss the problems with iPhone 3GS and 3D background layer flickering.
Also programming cross platform at the time showed me how to write lightening fast JS. That has made me a lot of money when people come to me to fix their crap web apps.
Now you can "copy URL" or "copy URL parameters" but there's no way to copy them all in one go. You need to manually combine them in an external text editor which is annoying.
Have been a professional developer since 1999 - no idead what you're talking about.
So not a very good example at all, in fact quite the opposite, it just happened to ride the back of the anti-M$ wave and wasn't at all innovative, copying its features from already existing products.
Conversely, though it was free, IEDevToolbar was only really advertised to MSDN subscribers, so never got much penetration, especially as by then everyone hated IE6 and a lot of Devs worked in Firefox first.
But my company only supported IE6, and when we finally started supporting Firefox, firebug was an annoyingly sub-par experience when debugging js.
Even Chrome's early Dev tools had some sorely missed features when it first came out, as far as I can remember it took them years to support being able to just hold your mouse over a variable and see its value. And because it was a web-page about a web-page you got all these weird bugs. And the CSS editor was (and still is) super annoying with its attempts to cut up your text.
On top of that visual studio also had a JavaScript debugger, I'm sure there were plenty more paid tools you simply didn't know about.
<https://web.archive.org/web/20051223164847/https://www.mozil...>
<https://web.archive.org/web/20050206082145/http://www.mozill...>
<https://web.archive.org/web/20050206185242/http://www.mozill...>
(Joe Hewitt created DOM Inspector and checked it in to CVS while working at Netscape. Robert Ginda had separately created Venkman. Firebug used the XPCOM interfaces that had been created to allow for Venkman's debugging capabilities, but IMO was always inferior to the much more powerful Venkman, even if Firebug was slightly prettier to look at. PS: shame on Mozilla for breaking those links. Do you even know how to Web?)
> Firebug came out AFTER IEDevToolbar
I'm not sure that even if you focus purely on Firebug and ignore DOM Inspector and Venkman that this is even true. Do you have a source for that?
Absolutely not.
> Firebug wasn't just prettier; it was much more usable
Venkman made some debatable decisions about UI defaults, as is the case with a lot of tools built by old school programmers trying to solve their own problems, but it was more customizable, flexible, and powerful (as is the case with a lot of tools built by old school programmers...). Aside from Firebug's template-based rich console, every feature implemented in Firebug's debug pane was implemented in Venkman, except Venkman gave you even more latitude and control. Firebug's debug pane was a basic UI over a subset of Venkman's APIs, after all, as previously mentioned. It was only many years later (much closer to Firebug's death than its birth) that Firebug got some improvements like showing a variable's value in the source window while stopped at a breakpoint without having to type it into the console (or set a watch on it, or look at its activation record entry). Venkman never had that, but it pales in comparison to all the things that Venkman could do that Firebug did not.
Firebug made its own share of dumb decisions, and the degree of dumb in those instances was higher.
> [Firebug] focused on actual website code
I'm not sure how it could be "focused on actual website code". Venkman was a straightforward JS debugger. (The only way this could possibly make sense is if you're referring to all the stuff baked into Firebug outside it's debug pane—style sheets, live view of document nodes, cookies, and so on; all things outside the purview of a language debugger—in which case it becomes an apples and oranges comparison. It would make more sense to criticize DOM Inspector for any of those things than Venkman. And once again—there were plenty of dumb decisions by Firebug in that comparison is concerned.)
It may very well have been the case for a small number of MS centric devs, but for the large majority of users, it was Firebug that really changed the game for the bulk of Frontend devs back then.
While I agree that IE's devtools had more features regarding xpath integration, you'll also had the problem that it was based on libxml (yes, the reason trident was exploitable for decades, and probably still is).
IE's devtools didn't have access to the DOM and only had access to the HTML/SGML/actually XML representation _before_ it was parsed into the DOM.
This gave you hundreds of error scenarios where debugging user events was simply impossible if they caused the DOM to change, something like adding a node or debugging a parentNode was impossible in trident.
And oh how often have I seen bugs in websites that were relying on specified flow roots that behaved differently in trident. Something like an unclosed <p> in the wrong place could easily mess up everything in trident and switch it to quirks mode.
Remember IE was exploitable via a parentNode.remove(parentNode), too? The hooks for devtools was the underlying reason.
I am not sure why you claim that IE had superior devtools experience. You must have done a lot of ActiveX related development, because everything else was impossible to debug in my opinion.
The best thing MS did was to create the Edge team that tried to refactor trident, and soon realized that it's impossible and instead started over from scratch.
It's not who was first, just who seemed 10x better than the next best option.