Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identifier Tracking #57

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Identifier Tracking #57

wants to merge 1 commit into from

Conversation

LinqLover
Copy link
Owner

@LinqLover LinqLover commented Apr 29, 2022

Concerns hpi-swa-lab/squeak-tracedebugger#74

Usage:

  • TrackingSimulator debug: [
    	| x y |
    	x := Morph new.
    	y := x].
    BasicInspector openOn: y.
  • in the context of a complex morph:
    TrackingSimulator debug: [
    	self allMorphsDo: [:x | x color]]

Next steps:

  • Revise tracking and untracking places - currently, receiver et al. are not tracked properly
  • Discuss need for transparent proxy
  • Proper support for primitives
  • Tests

Further work (can go into separate PRs):

  • Discuss API for displaying tracked information and usage in production (for TDB, this approach would be slow)
  • We could also use this to explain side effects from a sandbox or TDB retracing
  • Discuss target package and category

@LinqLover LinqLover added the enhancement New feature or request label Apr 29, 2022
@LinqLover LinqLover changed the title Tracking Identifier Tracking May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant