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:
Take attention to the Simulate button!
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 BytecodeDebugger.3.cs (8K) Download Attachment
Carpe Squeak!
|
Further ideas to improve overall bytecode tools:
Best,
Christoph
Von: Squeak-dev <[hidden email]> im Auftrag von Thiede, Christoph
Gesendet: Montag, 20. Januar 2020 15:39 Uhr An: Squeak Dev Betreff: [squeak-dev] Changeset/Concept: BytecodeDebugger.3.cs 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:
Take attention to the Simulate button!
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
Carpe Squeak!
|
Nice - almost looks like my SqueakJS debugger :) For debugging the VM I found it useful to show the current stack and context chain: - Bert - On Mon, Jan 20, 2020 at 7:04 AM Thiede, Christoph <[hidden email]> wrote:
|
Hi Bert, thanks for the impression!
This led me to even more ideas:
Christoph
Von: Squeak-dev <[hidden email]> im Auftrag von Bert Freudenberg <[hidden email]>
Gesendet: Montag, 20. Januar 2020 22:40 Uhr An: The general-purpose Squeak developers list Betreff: Re: [squeak-dev] Changeset/Concept: BytecodeDebugger.3.cs Nice - almost looks like my SqueakJS debugger :)
For debugging the VM I found it useful to show the current stack and context chain:
- Bert -
On Mon, Jan 20, 2020 at 7:04 AM Thiede, Christoph <[hidden email]> wrote:
Carpe Squeak!
|
Free forum by Nabble | Edit this page |