pharo-contributions / taskit

TaskIt is a library that ease Process usage in Pharo. It provides abstractions to execute and synchronize concurrent tasks, and several pre-built mechanisms that are useful for many application developers.
MIT License
43 stars 24 forks source link

[ 1 + 1 ] future onSuccessDo: [ :w | w halt ] causes DNU on debugging #37

Closed zecke closed 5 years ago

zecke commented 6 years ago

Trying the above code, clicking on debug creates a DNU

#findContextHolderSuchThat: was sent to nil
UndefinedObject(Object)>>doesNotUnderstand: #findContextHolderSuchThat:
TKTDebugSession>>filteredMasterStack
TKTDebugSession>>filteredCombinedStack
TKTDebugSession>>stack
TKTDebugger(GTGenericStackDebugger)>>retrieveStackFrom:
[ :aSession | self retrieveStackFrom: aSession ] in TKTDebugger(GTGenericStackDebugger)>>stackWidgetIn: in Block: [ :aSession | self retrieveStackFrom: aSession ]
BlockClosure>>glamourValueWithArgs:
BlockClosure(ProtoObject)>>glamourValue:
GLMFastTablePresentation(GLMPresentation)>>displayValue
GLMFastTablePresentation(GLMListingPresentation)>>displayValue
GLMFastTableDataSource(GLMFastListDataSource)>>basicElements
[ self basicElements ] in GLMFastTableDataSource(GLMFastListDataSource)>>calculateElements in Block: [ self basicElements ]
OrderedCollection(Collection)>>ifEmpty:ifNotEmpty:
GLMFastTableDataSource(GLMFastListDataSource)>>calculateElements
GLMFastTableDataSource(GLMFastListDataSource)>>elements
GLMFastTableDataSource(FTSimpleDataSource)>>numberOfRows
FTTableMorph>>numberOfRows
FTTableContainerMorph>>calculateStartIndexWhenShowing:
FTTableContainerMorph>>updateExposedRows
FTTableMorph>>resetPosition
FTTableMorph>>dataSource:
GLMMorphicFastTableRenderer(GLMMorphicFTRenderer)>>initializeTableMorph
GLMMorphicFastTableRenderer(GLMMorphicFTRenderer)>>render:
GLMMorphicFastTableRenderer class(GLMMorphicWidgetRenderer class)>>render:from:
GLMMorphicRenderer>>renderFastTablePresentation:
GLMFastTablePresentation>>renderGlamorouslyOn:
GLMMorphicRenderer(GLMRenderer)>>render:
GLMMorphicTabbedRenderer(GLMMorphicWidgetRenderer)>>renderObject:
[ self renderObject: each ] in [ :each | 
tabs
    addLazyPage: [ self renderObject: each ]
    label: (self titleOrIconOf: each in: tabs)
    toolbar: (self renderToolbarForPresentation: each inMorph: tabs)
    action: (self labelActionBrickFor: each) ] in GLMMorphicTabbedRenderer>>render: in Block: [ self renderObject: each ]
LazyTabPage>>actualPageMorph
sbragagnolo commented 6 years ago

aaaaaa it came back! Thanks i will put an eye on it. Ill keep updated here

sbragagnolo commented 6 years ago

Can you please tell me what pharo are you using?

zecke commented 6 years ago

The image says it is:

Pharo 6.0
Latest update: #60539
sbragagnolo commented 6 years ago

It's solved in the last commit. Ill set as closed once i do a release

zecke commented 6 years ago

Thanks. Let me open an issue about TKTConfiguration (or my inability to use it). :)

sbragagnolo commented 6 years ago

hahaha, please please, i need some motivation for adding documentation on that :D

sbragagnolo commented 5 years ago

I added a new profile management for the TKTConfiguration. It is a bit easier to define a new profile, and you can change it by using the settings browser (still needing some more love, but there it is )