-
Notifications
You must be signed in to change notification settings - Fork 219
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
TryGetTidFromTargetId()
fails to parse thread ID from target-id
if format is like Thread 123.123
#1448
Comments
We currently have two fields in DebuggedThread object, namely Id and TargetId. We store the global numeric ID assigned to the thread by GDB in Id. Also in AD7Thread that implements IDebugThread2.GetThreadId, we use TargetId to get ThreadId.
This method is called by AD7ExtensionMethods.
This is in turn used to identify ThreadId for Stopped Event. MIEngine/src/OpenDebugAD7/AD7DebugSession.cs Line 644 in b8bfa53
|
Convert TargetId field to string and remove all parsing logic. This way, the unique global ID is stored in Id and target specific target-id is stored in its string format. Stopped events fetch global ID for thread identification. This fix should also address [issue 1448](microsoft#1448). Signed-off-by: intel-rganesh rakesh.ganesh@intel.com
The thread ID is not correctly parsed.
Output from
-thread-info 1
:The text was updated successfully, but these errors were encountered: