commit | 68ca7890ddaeb849c390295ecd914087da463497 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Tue Feb 14 09:25:55 2023 -0700 |
committer | Tom Tromey <tromey@adacore.com> | Mon Mar 06 08:15:04 2023 -0700 |
tree | 62ae6d0e11730458202151c31f48dd272534e58a | |
parent | c52e4861c61926a1e22e56837487b819e2dc3cc8 [diff] |
Fix DAP stackTrace through frames without debuginfo The DAP stackTrace implementation did not fully account for frames without debuginfo. Attemping this would yield a result like: {"request_seq": 5, "type": "response", "command": "stackTrace", "success": false, "message": "'NoneType' object has no attribute 'filename'", "seq": 11} This patch fixes the problem by adding another check for None.