Skip to content

Commit 0f9a298

Browse files
committed
Hide methods of objects in visualization
1 parent c2cdc7a commit 0f9a298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytrace-generator/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def store(self, address, value):
231231
except:
232232
# Just ignore it in case getattr fails
233233
continue
234-
if should_ignore_on_heap(field, v, self.script_path):
234+
if callable(v) or should_ignore_on_heap(field, v, self.script_path):
235235
continue
236236

237237
prim_value = PrimitiveValue(v)

0 commit comments

Comments
 (0)