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

show SharedState in Debug for Runtime #98

Merged
merged 1 commit into from
Dec 28, 2018
Merged

Conversation

matklad
Copy link
Member

@matklad matklad commented Dec 21, 2018

Show more info in Runtime's Debug.

In rust-analyzer I am currntly debugging an issue where all queries are getting cancelled despite the fact that no modifications occur. I suspect this is due to some run-away runtime which prevents revision from being incremented, but I don't have a way to check this.

Printing locks and such from shared state should hopefully help.

This should be useful to debug deadlocks due to bad forking.
@nikomatsakis nikomatsakis merged commit 7074e25 into salsa-rs:master Dec 28, 2018
nikomatsakis added a commit to nikomatsakis/salsa that referenced this pull request Dec 28, 2018
- Panic safety improvements (salsa-rs#81)
- We build on stable now (salsa-rs#94)
- Removed use of dynamic dispatch for constructing query
  descriptors (salsa-rs#95)
  - Technically a breaking change, though unlikely to affect clients
- Removed use of upgradable reads to avoid Amanieu/parking-lot#101 (salsa-rs#75)
- Upgraded parking lot (salsa-rs#100)
- Improved Debug output (salsa-rs#98)
- Snapshot implements Debug (salsa-rs#85)
@nikomatsakis nikomatsakis mentioned this pull request Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants