Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7859895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:04:14+00:00 2026-06-02T22:04:14+00:00

The transition from C#/WPF to HTML5/JavaScript is plaguing me. I thought the challenging part

  • 0

The transition from C#/WPF to HTML5/JavaScript is plaguing me. I thought the challenging part would be learning new languages, new ways of thinking about problems, etc. But that was the easy part. The real hurdle is trying to debug an application of any reasonable size using the ridiculous environment known as Firebug. I chose Firebug because it appeared that most people on StackOverflow.com were using it. But man.. I seriously don’t see how you guys use this thing. It’s so riddled with show-stopper bugs. I posted earlier about a major flaw in Firebug when debugging timer callbacks. But today’s Firebug experience borders on insanity.

Short story is that under certain unknown conditions, if a syntax error is encountered Firebug will, instead of reporting the error, fail to load the entire script file into memory at all and will show no error information whatsoever. Today I dealt with a syntax error that crept in due to a misplaced comma. Any decent debugger would simply highlight the problem and halt execution. Not Firebug. It forces you to investigate file by file, commenting things out one at a time as you try to figure out where on earth the syntax error is. And this isn’t just some “edge case.” Consider this intentionally bad JavaScript fragment:

var boo;
boo.SelectEntityPopupXXX=(function(){
    var hey={p: 1,z: 2,goob=this};
}());

There’s a syntax error. There should be a colon after ‘goob’ instead of an equals sign. If your app has fifty different JavaScript files, and this bad fragment is in one of them, Firebug won’t tell you about it. It’ll just fail to load the entire script file into memory. It’s up to you to find out which file of the fifty isn’t being loaded. Then you’ve got to randomly comment/uncomment the contents of that file until you narrow down that code fragment and realize that there’s a bad equals sign in there. That’s absolute madness!

Firebug behaves in the expected manner for most syntax errors. But it stumbles on just enough of them to be severely irritating. This, combined with countless other show-stopper bugs, make the Firebug environment totally useless for all but the most trivial web apps. So the questions are:

[1] Is there some kind of syntax error flag or setting that I’m missing that’s causing this crazy behavior? If there’s a “randomly ignore syntax errors and obfuscate their location” checkbox, I’d like to uncheck it.

[2] There must be a better development environment [for Mac] than Firebug… or at least, I can’t imagine a WORSE one. Do you have any recommendations?

Thanks.

UPDATE:

Want to try and insert a comment before this thread is killed for the sake of those who actually care about debugging [as opposed to collecting site gold pieces or whatever these up/down votes represent]… It’s come to my attention that the debugging environments of both Safari and Chrome are far more reliable. I can verify that the syntax errors discussed above are correctly identified in both Safari and Chrome. The major timer callback bug I referenced in my other post is also Firebug-specific. Enough said. Goodbye Firebug.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T22:04:16+00:00Added an answer on June 2, 2026 at 10:04 pm

    I prefer Chrome to develop any web sites/apps in. Chrome has a debugger line that sometimes works. The key to JS development is ALERTS. Just alert variable values and element values to you resolve your issue. And @Quentin is correct. Your syntax errors is due to the = operator. To set a value in JS objects you must use the : operator.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How hard is it to transition from WPF to Silverlight? Would you say that
I'm making the transition from the Microsoft stack (i.e. WPF) to HTML5 so apologies
I'm unable to transition from index.html to any pages correctly. All transitions would show
I am learning the basics of controls and event handling as I transition from
I am attemting to transition from one UIView to another, when the user rotates
In my quest to transition from a decade of C++ to Ruby, I find
I'm trying to do a transition from MySQL to SQLite for a small site.
I was working a bit ahead and planning for transition from EF 4.2 CTP
In a .NET C# program, is it easy to transition from FTP to SFTP?
I have to transition the CornerRadius property of a Border from value 0,0,0,0 to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.