A promising approach for debugging remote promises

Leske, Max; Chis, Vasile-Andrei; Nierstrasz, Oscar Marius (2016). A promising approach for debugging remote promises. In: Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies. IWST' 16. Prague. 23.-24.08.2016. 10.1145/2991041.2991059

[img] Text
a18-Leske.pdf - Published Version
Restricted to registered users only
Available under License Publisher holds Copyright.

Download (4MB) | Request a copy

Promises are synchronization constructs that hide the complexity of process synchronisation from the developer by providing a placeholder for the result of a potentially incomplete computation performed in a concurrent process. Promises evaluated by remote processes pose challenges for debugging when the remote computation raises an exception. Current debuggers are either unaware that there is a problem in the remote computation or give developers access only to the context of the remote process. This does not allow developers to interact at the same time with the process that launched the promise and the remote process that executed the promise's computation. To improve debugging of remote promises, in this paper we propose a debugger interface that presents a unified view of both the original and the remote process, by merging the call chains of the two processes at the point where the promise was created. We exemplify our approach, discuss challenges for making it practical, and illustrate through an initial prototype that it can improve debugging of exceptions in remote promises.

Item Type:

Conference or Workshop Item (Paper)

Division/Institute:

08 Faculty of Science > Institute of Computer Science (INF)
08 Faculty of Science > Institute of Computer Science (INF) > Software Composition Group (SCG) [discontinued]

UniBE Contributor:

Chis, Vasile-Andrei, Nierstrasz, Oscar

Subjects:

000 Computer science, knowledge & systems
500 Science > 510 Mathematics

ISBN:

978-1-4503-4524-8

Language:

English

Submitter:

Oscar Nierstrasz

Date Deposited:

03 Feb 2017 15:43

Last Modified:

02 Mar 2023 23:28

Publisher DOI:

10.1145/2991041.2991059

Uncontrolled Keywords:

scg-pub, snf-asa2, scg16, jb16, debugging, concurrency, threads, Andrei Chis, internationalworkshop

BORIS DOI:

10.7892/boris.94642

URI:

https://boris.unibe.ch/id/eprint/94642

Actions (login required)

Edit item Edit item
Provide Feedback