microsoft / microsoft/MIEngine

[Android][gdb] Locals test failure when binding breakpoint on line main.cpp:49

Open
#797 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
859
Forks
233
Avg merge
1d 6h
Merged PRs (30d)
3

Description

Locals test bp at main.cpp:49 binds at line 59. Mem address at binding shows line 59 in the -symbol-list-lines call so although when we request main.cpp:49, it is line 59 now.

Fix: Possibly use the symbol-list-line data to bind to the correct point. The stackframe data is correctly matching the new breakpoint location.

https://github.com/Microsoft/MIEngine/commit/1d836c833bf0d30732ddecbdf8d7ce49391c3d0c

Possibly update the test to remove this possible failure.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Android gdb Locals test and main.cpp:49, and review the linked commit. Reproduce the breakpoint binding and compare the symbol-list-lines result with the stackframe data; done means the test no longer fails because the requested source location binds incorrectly, or the test is updated as appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
devtools, mobile-dev, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.