Changes

Summary

  1. we have Context>>#readVariableNamed: (details)
  2. The debugger needs to be able to access temps that are actually defined in the outerContext (and migh not even exist in the context itself). (details)
  3. OCAbstractMethodScope: remove unused thisContextVar (details)
Commit 3ab1ebfae4c63ac2319926a3fa5f6c70a839bb30 by marcus.denker
we have Context>>#readVariableNamed:

This PR adds a method to write any variable from a context: #writeVariableNamed:value:
The file was modifiedsrc/Debugging-Core/Context.extension.st (diff)
The file was modifiedsrc/Kernel-Tests-Extended/ContextTest.extension.st (diff)
Commit fe2b2ffb5ee18f68ba5efcb8df5333738c10bd67 by marcus.denker
The debugger needs to be able to access temps that are actually defined in the outerContext (and migh not even exist in the context itself).

For CleanBlocks, we can easily detect the case in Context>>#outerContext (outerContext is nil only in this case).

- implement #outerContext for the clean case
- testExampleAccessOuterFromCleanBlock tests it (example forces clean block comiplation using compiler options pragma)

With this the old Debugger works with Clean Blocks!
The file was modifiedsrc/Kernel/Context.class.st (diff)
The file was modifiedsrc/OpalCompiler-Tests/MethodMapTest.class.st (diff)
The file was modifiedsrc/OpalCompiler-Tests/MethodMapExamples.class.st (diff)
Commit 01b80892b84e77b97b0e59b71d69be40f7e97838 by github
OCAbstractMethodScope: remove unused thisContextVar 

thisContextVar in OCAbstractMethodScope is not needed anymore due to  a prior refactoring. Removing the var can not be done form the image, this this PR removes it by editing the source in GitHub directly.
The file was modifiedsrc/OpalCompiler-Core/OCAbstractMethodScope.class.st (diff)