edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Kevin Carhart <kevin@carhart.net>
To: edbrowse-dev@lists.the-brannons.com
Subject: Re: [edbrowse-dev] faux stepping
Date: Mon, 10 Jun 2019 23:00:12 -0700 (PDT)	[thread overview]
Message-ID: <alpine.DEB.2.21.1906102253350.57479@carhart.net> (raw)
In-Reply-To: <20190510073905.eklhad@comcast.net>



Thanks Karl!  No, there isn't anything specific right now.  When I played 
with Neil Fraser's JS Interpreter, I was stepping a lot and learned a lot. 
One way around the problem of too many instructions until you get to the 
one you want would be if there could be a counter that increments with 
every step, so that you could stepTo(5000) and only turn echoing on once 
you get to 5000, to avoid overwhelming messages.  Then quit, do it again 
and zap to the same place.  But as of yet I do not have use cases with 
practical consequences.  I will play around with it later, using uvw.



  On Mon, 10 Jun 2019, Karl Dahlke wrote:

> Well my first thought is that there are a million instructions to step through before you get to the one you want, or before something interesting happens,
> so you would tear your hair out in frustration before then.
>
> My second thought is, I did this for some reason,
> and a million alerts flowing by for you to look at manually would be just as frustrating as a million breakpoints,
> so maybe there aren't a million, maybe there are only a thousand and it's manageable.
>
> Third thought; if you want to implement uvw = bp, injecting breakpoint instead of alert, that's fine with me.
> I imagine it would be a copy of the trace code but injecting something different.
> I'm working on some other things but they don't touch startwindow.js.
>
> You probably want to have a local snapshot to work with, already deminimized, so the line numbers mean something,
> then browse again with uvw = bp.
>
> Is there something specific you're trying to track down?
>
> I'm over here messing with the possibility of downloading all the js files and css files in parallel in the background,
> and not really sure if it's a good idea anyways,
> whether the performance improvements (if any) are worth the increase in code complexity.
> Trouble is, there's no way to know except to implement it an find out.
>
> Karl Dahlke
>

      reply	other threads:[~2019-06-11  6:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-10  4:06 Kevin Carhart
2019-06-10 11:39 ` Karl Dahlke
2019-06-11  6:00   ` Kevin Carhart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.21.1906102253350.57479@carhart.net \
    --to=kevin@carhart.net \
    --cc=edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).