We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c95a13a commit ecf3c64Copy full SHA for ecf3c64
trepan/processor/location.py
@@ -174,7 +174,9 @@ def resolve_location(proc, location) -> Optional[Location]:
174
offset = lineinfo[0].offsets[0]
175
mod_func_name = lineinfo[0].name
176
if mod_func.co_name != mod_func_name:
177
- print("FIXME: resolve_location needs update to pick out function")
+ # Breakpoint is in a nested function/method.
178
+ # Get new code object
179
+ mod_func = code_info.get(mod_func_name, mod_func)
180
pass
181
else:
182
return INVALID_LOCATION
0 commit comments