Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341932 - [evaluator] support evaluation abort
Summary: [evaluator] support evaluation abort
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 11:34 EDT by Ed Willink CLA
Modified: 2012-05-29 13:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-04-05 11:34:30 EDT
The console can start an evaluation of indeterminate length:

e.g

let i : Integer = 1000000000 in Sequence{1..i}->sum()*2/i-1

takes a few minutes.

a) Don't evaluate in the UI thread
b) Provide an abort capability
Comment 1 Ed Willink CLA 2011-05-07 13:18:52 EDT
CancelableTypeManager/ValueFactory and CancelableEvaluationVisitor intrioducerd to poll for cancel.
Comment 2 Ed Willink CLA 2012-05-29 13:23:13 EDT
Closing all bugs resolved in Indigo.