dotnet / dotnet/diagnostics

Odd setclrpath interaction with singlefile

Open
#5,926 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 5h
Merged PRs (30d)
35

Description

When attaching to a live process, a unix singlefile that has no collocated dac will need to have its DAC pointed at via directory backed symbol server or via setclrpath. the latter resets on continue since runtimes are flushed in between continuations, so it needs to be added every time. This is unique to live singlefile apps.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing attachment to a live Unix single-file app without a collocated DAC, using setclrpath and continuing execution. Observe when runtimes are flushed and verify that the DAC path remains available or is reapplied after each continuation; done means setclrpath works consistently for this scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.