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

Add support for channel-based breakpoints #99

Merged
merged 9 commits into from
Jan 25, 2017
Merged

Conversation

smarr
Copy link
Owner

@smarr smarr commented Jan 25, 2017

These changes introduces breakpoints on channels.
Specifically, on read/write operations one can set a breakpoint to stop right before the operation is happening. Furthermore, one can suspend the other end of the channel after the rendezvous is completed. This allows for instance to investigate the sender/receiver in a 1st-class channel situation where one might not know a priory which parties are communicating.

These changes also include an update to the TypeScript setup.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Dummy InvocationProfile, CountingProfile, MessageHistory, etc.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Use ExpressionBreakpoint tag for all breakpoints on a specific AST node.
Extend channel to pass to the opposite side whether a breakpoint was requested.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Make name more general to account for additional concurrency models.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
@smarr smarr added the enhancement Improves the implementation with something noteworthy label Jan 25, 2017
Signed-off-by: Stefan Marr <git@stefan-marr.de>
@smarr smarr merged commit 732f570 into master Jan 25, 2017
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 79.483% when pulling 583413e on csp-msg-breakpoints into 8e04cfa on master.

@smarr smarr deleted the csp-msg-breakpoints branch January 25, 2017 23:38
@smarr smarr added this to the v0.2.0 milestone Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the implementation with something noteworthy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants