Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
binary_slinger
· 2y ago · 0 comments
The shortcoming is print cannot always inspect pointers/objects. Once the debugger hits the breakpoint the entire context can be inspected.
Comments
[–]
armada651
2y ago
Print debugging has no problem inspecting pointers, you just gotta decide ahead of time which pointers you want to inspect and which members of the structure it's pointing to are relevant.