<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Jamie,</p>
    <p>I hope you commented out the right line. That line appears twice
      in the file but only the one shown in the changeset must be
      commented out/deleted. That did the trick over here (at least on
      Linux). I'll have to re-test your script on Windows to see, if
      that makes a difference.</p>
    <p>Furthermore, I would like you to post a screenshot of the 'Start
      Debugging' dialog.</p>
    <p>Regards,<br>
      Detlev<br>
    </p>
    <div class="moz-cite-prefix">Am 16.11.23 um 23:39 schrieb Jamie
      Riotto:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAM8_zTjeYJ=Wd6_U3gbJudLLZ42n4Sg=WUXpwP_8nMpixBDSbw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Ok, so I have Eric7 loaded into a virtual
        environment, 'eric7_qt6_venv', which has
        eric7-23.11(rev.e075C8fe07fd).
        <div>I went to
c:\Users\jamie\eric7_qt6_venv\Lib\site-packages\eric7\Debugger\DebuggerInterfacePython.py
          anc</div>
        <div>commented out the line:</div>
        <div><br>
        </div>
        <div>#self.__autoContinued.append(debuggerId)<br>
        </div>
        <div><br>
        </div>
        <div>When I reran the script I submitted, I had the same
          behavior as before, i.e. no change. Did I miss something?</div>
        <div>- j</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Nov 16, 2023 at
          10:28 AM Detlev Offenbach <<a
            href="mailto:detlev@die-offenbachs.de"
            moz-do-not-send="true" class="moz-txt-link-freetext">detlev@die-offenbachs.de</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <p>Hi Jaimie,</p>
            <p>it is actually a one line change. If you visit <a
href="https://hg.die-offenbachs.homelinux.org/eric/rev/1e498581a094"
                target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">https://hg.die-offenbachs.homelinux.org/eric/rev/1e498581a094</a>
              you will see, which line needs to be removed.</p>
            <p>Regards,<br>
              Detlev<br>
            </p>
            <div>Am 16.11.23 um 19:10 schrieb Jamie Riotto:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Detlev,
                <div>Excuse my ignorance, but I'm not sure how to obtain
                  a changeset through mercurial. Is there an easy way?</div>
                <div>- j</div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Thu, Nov 16, 2023
                  at 9:12 AM Detlev Offenbach <<a
                    href="mailto:detlev@die-offenbachs.de"
                    target="_blank" moz-do-not-send="true"
                    class="moz-txt-link-freetext">detlev@die-offenbachs.de</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                  <div>
                    <p>Hi,</p>
                    <p>I just committed changeset 1e498581a094, which
                      should fix the issue. Please give it a try and let
                      me know. Otherwise, it will be contained in
                      release 23.12 as is.</p>
                    <p>Regards, Detlev </p>
                    <div>Am 15.11.23 um 16:33 schrieb Jamie Riotto:<br>
                    </div>
                    <blockquote type="cite">
                      <div>import multiprocessing<br>
                        from time import time<br>
                        import random<br>
                        <br>
                        <br>
                        def parallelSim(job_queue, output_queue):<br>
                            for data in iter(job_queue.get, 'STOP'):<br>
                                choices = random.choices(data, k=10)<br>
                                total = 0<br>
                                for i, c in enumerate(choices):<br>
                                    sign = 1 if i%2==0 else -1<br>
                                    total += c * c * sign<br>
                        <br>
                                output_queue.put(total)<br>
                        <br>
                        if __name__ == '__main__':<br>
                            start_time = time()<br>
                        <br>
                            job_queue = multiprocessing.Queue()<br>
                            output_queue = multiprocessing.Queue()<br>
                        <br>
                            # create some data<br>
                            data = list(range(1, 1000))<br>
                        <br>
                            # DEBUG<br>
                            #numCPUs = multiprocessing.cpu_count()<br>
                            numCPUs = 4<br>
                            iterations = 10<br>
                            numjobs = numCPUs * iterations<br>
                        <br>
                            # load up the job queue<br>
                            for sim in range(numjobs):<br>
                                job_queue.put(data)<br>
                        <br>
                            # add Stops to the job queue<br>
                            for x in range(numCPUs):<br>
                                job_queue.put('STOP')<br>
                        <br>
                            serialDebug = False<br>
                            if serialDebug is True:<br>
                                # Debug the Parallel Process<br>
                                parallelSim(job_queue, output_queue)<br>
                        <br>
                            else:<br>
                                # parallelize processing using a pool of
                        processes<br>
                                for i in range(numCPUs):<br>
                                   
                        multiprocessing.Process(target=parallelSim,
                        args=(job_queue, output_queue)).start()<br>
                        <br>
                            results = []<br>
                            for r in range(numjobs):<br>
                                results.append(output_queue.get())<br>
                        <br>
                            avg_result = sum(results) / numjobs<br>
                            print("")<br>
                            print(f'Average Results = {avg_result}')<br>
                        <br>
                            end_time = time()<br>
                            elapsed = end_time - start_time<br>
                            print(f"Finished in: {elapsed:.3f} seconds")<br>
                      </div>
                    </blockquote>
                    <pre cols="72">-- 
Detlev Offenbach
<a href="mailto:detlev@die-offenbachs.de" target="_blank"
                    moz-do-not-send="true" class="moz-txt-link-freetext">detlev@die-offenbachs.de</a></pre>
                  </div>
                </blockquote>
              </div>
            </blockquote>
            <pre cols="72">-- 
Detlev Offenbach
<a href="mailto:detlev@die-offenbachs.de" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">detlev@die-offenbachs.de</a></pre>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Detlev Offenbach
<a class="moz-txt-link-abbreviated" href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a></pre>
  </body>
</html>