Featured post
windows - How to view the variable values in release builds -
i want able see variable values while debugging release application. have set compiler option z7 , given /debug , /pdb: linker option. have pdb application.
with set able put break point (windbg) inside code , hits properly. not able see variable values.
the locals window shows pointer value cant see contents of same. instance if have pointer structure has int inside it, shows value of pointer. if expand same clicking + in tree, see variable name value <memory access error>
how should make release builds show variable values?
many times, cannot see them because don't exist. if @ optimized assembly code, find many intermediate variables removed in favor of performance. you're seeing, , way around follow disassembly , watch right memory locations / registers.
- Get link
- X
- Other Apps
Comments
Post a Comment