Skip to content

Conversation

@adri09070
Copy link
Collaborator

  • moving SindarinDebugSession and SindarinDebugger to Sindarin-Core package
  • All methods doing things about core concepts became extension methods of SindarinDebugger
  • Setting flags for TODOs
  • refactoring methods to use the Sindarin API within Sindarin
  • extracting methods from longer methods
  • removing unused methods
  • renaming unclear methods
  • categorizing uncategorized classes

@adri09070
Copy link
Collaborator Author

adri09070 commented Mar 23, 2023

There's something that bothers me. Iceberg doesn't want to commit the deletion of the class SindarinDebugger from the package Sindarin

@adri09070
Copy link
Collaborator Author

Argh, I wanted to move documentation to a doc folder to see if we could see it in the documentation browser.
Thus, I moved sources to a src folder.

But now, I have problems and I don't understand why

@adri09070
Copy link
Collaborator Author

Ah, here it goes! Don't bother about the last 5 commits

Comment on lines +46 to +47
byte := encoderClass nonExtensionBytecodeAt: pc in: self method.
^ #( 243 244 245 252 ) includes: byte
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment refering to the method that details the bytecode numbers.

Comment on lines +72 to +86
TSindarin >> basicStep [

self debugSession stepInto
]

{ #category : #'debug - stepping' }
TSindarin >> basicStepOver [

^ self debugSession stepOver
]

{ #category : #'debug - stepping' }
TSindarin >> basicStepThrough [

self debugSession stepThrough
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment explaining the "basic"

Comment on lines +138 to +145
"* 70 */ primitiveNew,
/* 71 */ primitiveNewWithArg,
/* 79 */ primitiveNewMethod,
/* 148 */ primitiveClone,
/* 160 */ primitiveAdoptInstance"

self flag: 'These numbers may have changed. This is to be checked'.
^ #( 70 71 79 148 160 )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reference to the VM repo where those primitive numbers are indicated.

@adri09070 adri09070 closed this May 10, 2023
@adri09070 adri09070 reopened this May 10, 2023
@adri09070 adri09070 mentioned this pull request May 10, 2023
@StevenCostiou StevenCostiou merged commit ce983d3 into pharo-spec:master May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants