aboutsummaryrefslogtreecommitdiffstats
path: root/idatui/trace_ctl.py
diff options
context:
space:
mode:
Diffstat (limited to 'idatui/trace_ctl.py')
-rw-r--r--idatui/trace_ctl.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/idatui/trace_ctl.py b/idatui/trace_ctl.py
index 46d4b17..8072801 100644
--- a/idatui/trace_ctl.py
+++ b/idatui/trace_ctl.py
@@ -21,6 +21,8 @@ import bisect
import os
from typing import TYPE_CHECKING
+from . import diag
+
if TYPE_CHECKING: # pragma: no cover
from .app import IdaTui
@@ -264,7 +266,10 @@ class TraceController:
# or twice, once for each of two parallel maps — would be felt.
try:
app._apply_split_map(ea, app.program.decomp_map(ea))
- except Exception: # noqa: BLE001
+ except Exception as e: # noqa: BLE001
+ # The pseudocode simply stops being painted with the trail, with
+ # nothing on screen to say why.
+ diag.note(f"trail: decomp_map({ea:#x})", e)
self.trail_map, self.trail_map_ea = [], ea
self.trail_line_of, self.trail_eas = {}, []
self.trail_span = None