sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Syntax Error at Line 51718725

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 3 Posters 217 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      MartinRinehart
      last edited by

      IE has just told me that I have an error in my JS at line 51718725.

      This is not helpful. I have hundreds, not millions, of lines of JS, of course.

      Anyone have helpful tips and tricks for debugging?

      I test in Opera until going to webdialog. (Opera's error console is crabbier than Firefox.) But sooner or later you get to those errors at line 51718725.

      Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        I get those too. So far all of those errors for me have been because I have sent bad strings into my webdialog. BUT, so far that is about the only thing I have managed to make my webdialog do is accept a string of data. I really have not written any JS beyond simple methods that take the string and write it to the screen somehow. So maybe the bad string thought is not that relevent. 😄

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • M Offline
          MartinRinehart
          last edited by

          @unknownuser said:

          Try one of these "</script>" after lets say every 5 or 6 thousand lines.

          I'm self-employed and darn sure my crab apple boss will fire me if I ever get to 5k lines in a JS file.

          Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement