| 1280 | |
| 1281 | |
| 1282 | uint64_t LldbAdapter::GetStackPointer() |
| 1283 | { |
| 1284 | SBThread thread = m_process.GetSelectedThread(); |
| 1285 | if (!thread.IsValid()) |
| 1286 | return 0; |
| 1287 | |
| 1288 | uint64_t sp = 0; |
| 1289 | size_t frameCount = thread.GetNumFrames(); |
| 1290 | if (frameCount > 0) |
| 1291 | { |
| 1292 | SBFrame frame = thread.GetFrameAtIndex(0); |
| 1293 | if (frame.IsValid()) |
| 1294 | sp = frame.GetSP(); |
| 1295 | } |
| 1296 | |
| 1297 | return sp; |
| 1298 | } |
| 1299 | |
| 1300 | |
| 1301 | bool LldbAdapter::SupportFeature(DebugAdapterCapacity feature) |
nothing calls this directly
no outgoing calls
no test coverage detected