microsoft / microsoft/MIEngine
`TryGetTidFromTargetId()` fails to parse thread ID from `target-id` if format is like `Thread 123.123`
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 859
- Forks
- 233
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 3
Description
The thread ID is not correctly parsed.
Output from -thread-info 1:
MS_MIDebug: 1: (14914) ->1015^done,threads=[{id="1",target-id="Thread 15307.15307",frame={level="0",addr="0xb6f24aa0",func="_start",args=[],from="/cygdrive/e/WORK/CDK/CYGWIN32/ARM_LINUX_GNU_CROSSTOOLS/V5.3-1/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/lib/ld-linux.so.3",arch="armv5tej"},state="stopped"}]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate TryGetTidFromTargetId() and reproduce the parsing behavior with the issue's target-id value, Thread 15307.15307. Confirm how the function currently interprets the identifier and update the handling so this format yields the expected thread ID; verify the behavior with the relevant existing tests, if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100