Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #15292

Re: off topic, was: Re: Stupid Question

From Gregor Kofler <usenet@gregorkofler.com>
Newsgroups comp.lang.javascript
Subject Re: off topic, was: Re: Stupid Question
Date 2012-08-07 10:06 +0200
Organization A noiseless patient Spider
Message-ID <jvqia5$v2p$1@dont-email.me> (permalink)
References (5 earlier) <NrOdnQsy0Yl6HoLNnZ2dnUVZ_oKdnZ2d@posted.localnet> <jvo9ri$ehs$1@dont-email.me> <EpudnQjuRZD6m73NnZ2dnUVZ_uadnZ2d@posted.localnet> <jvp4e6$ku5$1@dont-email.me> <N_6dnfhXj-I7Ir3NnZ2dnUVZ_qWdnZ2d@posted.localnet>

Show all headers | View raw


Am 2012-08-07 09:11, schrieb Robert Baer:
> Gregor Kofler wrote:
>> Am 2012-08-06 20:01, Robert Baer meinte:
>>> Gregor Kofler wrote:
>>>> Am 2012-08-06 10:44, Robert Baer meinte:
>>>>> Gregor Kofler wrote:
>>>>>> Am 2012-08-06 06:56, Robert Baer meinte:
>>>>>>> Robert Baer wrote:
>>>>>>
>>>>>>>> So, if i interpret your answer correctly, those IF..ENDIF
>>>>>>>> statements
>>>>>>>> are
>>>>>>>> NOT javascript.
>>>>>>>> May i then correctly assume that they are HTML?
>>>>>>
>>>>>> Neither (well, sort of the latter). They are "conditional
>>>>>> comments"[1].
>>>>>>
>>>>>>> Could not find any active NG covering HTML..suggestions?
>>>>>>
>>>>>> Did (or how did) you search?
>>>>>>
>>>>>> How about
>>>>>>
>>>>>> comp.infosystems.www.authoring.html
>>>>> * Here we go again; nomenclature. Would never have thought about
>>>>> "authoring".
>>>>
>>>> "html" should suffice. I use Thunderbird as newsreader and when
>>>> subscribing to newsgroups I can just search for "html" or
>>>> "javascript" -
>>>> no need to know the precise name of a newsgroup.
>>>>
>>>>> However,using the baby bird (goo-gull) i found Firebug which LOOKS
>>>>> like it would do what i want.
>>>>> BUT.
>>>>> Cannot follow the damn directions as there is NO grey firebug to
>>>>> click on.
>>>>> Have no clue as to if it actually installed, etc.
>>>>> So, at this point it is totally useless.
>>>>> Useful comments?
>>>>
>>>> Dunno. Is Firebug listet under your installed extensions? Have you
>>>> restarted FF? Firebug has been working here for years without any
>>>> problems. Hit F12 this should also trigger Firebug. Or use
>>>> Chrome/Chromium and use the developer tools there - they do a similar
>>>> (and in rare occassions better) job as Firebug.
>>>>
>>>> Gregor
>>> OK; the "tricks" of restart and F12 worked.
>>> BUT.
>>> Absolutely zero instructions or help.
>>> I would like to step thru the code and then see what the result is.
>>> I noticed that one can have two windows: the site being debugged, and
>>> the control window; making it handy to do exactly what i would like to
>>> do.
>>> Firebug site is not exactly helpful to say the least; but for free,
>>> what can i expect?
>>
>> I've used Firebug for years now, I can't remember finding it
>> particularly difficult to get grips with it.
>>
>> Browsing through
>> https://getfirebug.com/wiki/index.php/Main_Page
>>
>> should give you more than sufficient help.
>>
>> For a start
>>
>> - activate the script tab
>> - reload page
>> - locate the script in question from the dropdown
>> - find code you want to debug
>> - set breakpoint by clicking on left margin (green line numbers)
>> - trigger events to reach break point or - in case of some load listener
>> code - reload page
>>
>>
>> The debugger in WebKit flavored browsers works quite similar, as does
>> Opera's DragonFly (invoked with Ctrl-Alt-I).
>>
>> Gregor
>>
>>
>>
>    I do not want breakpoints; it may take daze to set every code line as
> a breakpoint.

Sigh. Set a breakpoint at the beginning, then single-step with F10 or F11.

>    Ideally, i want to start with a blank screen with the URL set and
> ready to run.
>    Then switch over and tell Firebug to step thru all code at some
> user-controllable rate - and maybe stop stepping on some user action
> (Ctrl-Alt-F12?).

Add breakpoints to your listener. There might be some auto-debugging of 
event listener code, but I'd have to check on that.

>    As Firebug is stepping,i will watch the other screen be "painted"
> with images and text; when i see something i need more info OR do not
> like, i then press the magic combo (Ctrl-Alt-F12?) to stop stepping,
> then switch back to Firebug to get that info.

That's how it works. With Firebug.

> **
>    As-is, with zero help info, i loaded my website and scrolled thru the
> HTML code line-by-line and found one apparent mis-coding; hopefully the
> correction i applied will work in real life.
>    Will have the individual (temporarily) managing the site apply the
> update, and we shall see.
>    Browsers tend to render the code differently with regard to where the
> code resides: URL root, URL folder, HD root, HD folder.
>    And every browser is different as to rendering consistency across
> sources.
>    Add more complexity in rendering "efficiency" between browsers and
> "platforms" (desktop, palmtop, etc).
>    Also, consider different versions of a browser a a TOTALLY DIFFERENT
> browser.
>    It is a huge array of "howwzit work" that can easily change with a
> minor code change.

I've been doing client-side cross-browser scripting (and authoring) for 
several years now. I'm completely aware of these problems. c.l.js is the 
wrong place to whine about that.

Gregor


-- 
http://vxweb.net

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-04 21:32 -0700
  off topic, was: Re: Stupid Question "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-08-05 06:33 +0000
    Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-05 21:31 -0700
      Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-05 21:56 -0700
        Re: off topic, was: Re: Stupid Question Gregor Kofler <usenet@gregorkofler.com> - 2012-08-06 09:21 +0200
          Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-06 01:44 -0700
            Re: off topic, was: Re: Stupid Question Gregor Kofler <usenet@gregorkofler.com> - 2012-08-06 13:29 +0200
              Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-06 11:01 -0700
                Re: off topic, was: Re: Stupid Question Gregor Kofler <usenet@gregorkofler.com> - 2012-08-06 21:03 +0200
                Re: off topic, was: Re: Stupid Question Tim Streater <timstreater@greenbee.net> - 2012-08-06 20:12 +0100
                Re: off topic, was: Re: Stupid Question Gregor Kofler <usenet@gregorkofler.com> - 2012-08-06 21:18 +0200
                Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-07 00:14 -0700
                Re: off topic, was: Re: Stupid Question Tim Streater <timstreater@greenbee.net> - 2012-08-07 09:28 +0100
                Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-07 15:17 -0700
                Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-07 00:11 -0700
                Re: off topic, was: Re: Stupid Question Gregor Kofler <usenet@gregorkofler.com> - 2012-08-07 10:06 +0200
                Re: off topic, was: Re: Stupid Question Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-07 13:20 +0200
                Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-11 15:38 -0700
      Re: off topic, was: Re: Stupid Question SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-09 15:56 +0200
  Re: Stupid Question SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-09 15:51 +0200
    Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-11 15:53 -0700
      Re: Stupid Question Denis McMahon <denismfmcmahon@gmail.com> - 2012-08-12 00:34 +0000
        Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-14 16:43 -0700

csiph-web