Skip to content

Create a call back for the CLI debugger#1442

Open
NathanMalenge wants to merge 4 commits into
pharo-spec:Pharo14from
NathanMalenge:debug
Open

Create a call back for the CLI debugger#1442
NathanMalenge wants to merge 4 commits into
pharo-spec:Pharo14from
NathanMalenge:debug

Conversation

@NathanMalenge
Copy link
Copy Markdown

@NathanMalenge NathanMalenge commented May 13, 2026

PR depending on pharo-project/pharo#19619
While working on a CLI debugger, I had to refactor debugger-Model beacause it used UIManager directly.
So the goal of this PR is to avoid this dependency, using callBacks. We have to have a callBack class in newTools because it's what calls debugger-Model.
We use StApplication and spec to open a dialog instead of UIManager

Comment thread src/NewTools-Debugger/GraphicDebugDelegate.class.st Outdated
…tPresenter and StPharoApplication instead) + add comments
Copy link
Copy Markdown
Contributor

@guillep guillep left a comment

Choose a reason for hiding this comment

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

Nice! would you mind adding a PR description? It should at least say

  • that this depends on the other PR you did in Pharo
  • what it is supposed to do and why

Comment on lines +11 to +16
{ #category : 'as yet unclassified' }
TStDebuggerExtensionTestClass class >> acceptsPredicate: aStDebuggerContextPredicate [

^ true
]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is strange, did you touch this?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

i did not, or not in purpose

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.

3 participants