<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello Pete,</p>
    <p>the first two wishes are possible. Maybe it'll be the easiest,
      when there will be an extra window, showing the actual code
      line(s) and the disassembled bytecode, like the outputs of dis.dis
      / dis.distb.</p>
    <p>But stepping through single bytecodes isn't possible because the
      debug events (call, line, exception, ...) are only fired on new
      lines (see ceval.c -> maybe_call_line_trace). It would require
      to change the Python VM itself :-(</p>
    <p>Tobias<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Hans-Peter Jansen schrieb am 18.04.2017
      um 15:52:<br>
    </div>
    <blockquote cite="mid:4865915.hS366Bo9aU@xrated" type="cite">
      <pre wrap="">On Montag, 17. April 2017 18:42:20 Detlev Offenbach wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello Pete,

the changed indication will be part of the next release. If you need this
urgently, please get the default branch of the eric sources.
</pre>
      </blockquote>
      <pre wrap="">
Great, thank you.

</pre>
      <blockquote type="cite">
        <pre wrap="">Detlev

PS: Please give a spec for the bytecode disassembler display.
</pre>
      </blockquote>
      <pre wrap="">
Started from a toggle option (e.g. Show Bytecode), python source code lines 
are amended with the disassembly below (unnumbered). 

In debug mode, when catching an exception and bytecode display is enabled, the 
offending opcode should be emphasized in the bytecode disassembly 
(dis.distb()). 

See Python build-in dis module and e.g. <a class="moz-txt-link-freetext" href="https://pymotw.com/3/dis/">https://pymotw.com/3/dis/</a>. 

In a future version, single stepping through the bytecode would be awesome 
(but I'm not sure, if interfaces for such functionality are available 
already).

Cheers,
Pete

_______________________________________________
Eric mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Eric@riverbankcomputing.com">Eric@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="https://www.riverbankcomputing.com/mailman/listinfo/eric">https://www.riverbankcomputing.com/mailman/listinfo/eric</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>