[squeak-dev] Changeset/Concept: BytecodeDebugger.3.cs

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Jan 20 14:39:57 UTC 2020


Hi all, time for some more context fun! :-)


Marcel recently mentioned to me that we could need some kind of "raw debugger" for a better experience when exploring the bytecode.

The current best work"flow" to do this was: In the open debugger, first evaluate [ThisContext method symbolic edit] in the CVI (ContextVariablesInspector) to see the bytecode. Then, while debugging, you need to evaluate [ThisContext pc] in the CVI repeatedly to check the current position and compare it with the bytecode to see what's going on. Furthermore, you could open the debug menu of the stepInto button and debug the button action to dive into the deeps of context simulation.


This changeset proposes an implementation for debugging the bytecode directly. It's still very alpha-WiP-tbd-y, but it might give you an impression of my approach.

Some screenshots (sorry, Dave!):

Comeback of the code provenance button:

[cid:d1d771ba-ba9b-41cb-b7ed-08c00b322fc5]

Take attention to the Simulate button!

[cid:d6ebdeed-824c-4cbb-8299-af44d771afdd]


Go ahead and give me feedback! It would be nice to have an early version of this feature in Trunk in not-so-far time; I am sure this could be helpful for investigating all the context bug I reported over the latest months.

I'm excited to hear from you!


Best,

Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200120/91c0bf0c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 53722 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200120/91c0bf0c/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 57006 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200120/91c0bf0c/attachment-0003.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: BytecodeDebugger.3.cs
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200120/91c0bf0c/attachment-0001.ksh>


More information about the Squeak-dev mailing list