-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #626 from adri09070/assertion-rewriting
Integrating assertion rewriting (2nd attempt)
- Loading branch information
Showing
15 changed files
with
464 additions
and
66 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
src/NewTools-Debugger-Commands/StGenerateAndProceedCommand.class.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Class { | ||
#name : 'StGenerateAndProceedCommand', | ||
#superclass : 'StDebuggerCommand', | ||
#category : 'NewTools-Debugger-Commands', | ||
#package : 'NewTools-Debugger-Commands' | ||
} | ||
|
||
{ #category : 'default' } | ||
StGenerateAndProceedCommand class >> defaultDescription [ | ||
|
||
^ 'Save and compile the modified source, relinquish debugger control and proceed execution from the start of the current method.' | ||
] | ||
|
||
{ #category : 'default' } | ||
StGenerateAndProceedCommand class >> defaultIconName [ | ||
|
||
^ #debuggerProceed | ||
] | ||
|
||
{ #category : 'default' } | ||
StGenerateAndProceedCommand class >> defaultName [ | ||
|
||
<toolbarDebugCommand: 1200> | ||
^ 'Gen.&Proceed' | ||
] | ||
|
||
{ #category : 'default' } | ||
StGenerateAndProceedCommand class >> defaultShortcut [ | ||
|
||
^ $g meta | ||
] | ||
|
||
{ #category : 'testing' } | ||
StGenerateAndProceedCommand >> appliesTo: aDebugger [ | ||
|
||
^ aDebugger canGenerateAndProceed | ||
] | ||
|
||
{ #category : 'testing' } | ||
StGenerateAndProceedCommand >> execute [ | ||
|
||
self debugger saveGeneratedCodeAndProceed | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.