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

Terminate non-current process from debugger #90

Merged
merged 5 commits into from
Aug 21, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add RowanProcessService>>printOn: to show more details in the debugge…
…r's process list.
  • Loading branch information
James Foster committed Aug 21, 2018
commit d4919f5c8afad1a885de28001f846a1835b30f8f
2 changes: 0 additions & 2 deletions sources/RowanDebugger.cls
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ getProcessList

self updateServices: (Array with: (RowanDebuggerService onProcess: gsProcess)).!


issueCommand: services
| stonString stonResultString |
services do:[:service | service prepareForReplication].
Expand All @@ -105,7 +104,6 @@ methodListSelection
self updateServices: (Array with: methodService).
^methodService!


methodSourcePresenter

^codePane!
Expand Down
12 changes: 12 additions & 0 deletions sources/RowanProcessService.cls
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,23 @@ oopType

^OopType64 fromInteger: oop!

printOn: aStream

aStream
nextPutAll: 'GsProcess(';
print: oop;
nextPutAll: ') with ';
print: frames size;
nextPutAll: ' frames';
yourself.
!

stack

^frames collect: [:each | each printString]! !
!RowanProcessService categoriesFor: #frameForLevel:!public! !
!RowanProcessService categoriesFor: #oop!public! !
!RowanProcessService categoriesFor: #oopType!public! !
!RowanProcessService categoriesFor: #printOn:!public! !
!RowanProcessService categoriesFor: #stack!public! !