Skip to content

Instantly share code, notes, and snippets.

@nyrahul
Last active July 22, 2019 11:52
Show Gist options
  • Save nyrahul/3075805bc7a302acf4519af4dfa6e921 to your computer and use it in GitHub Desktop.
Save nyrahul/3075805bc7a302acf4519af4dfa6e921 to your computer and use it in GitHub Desktop.
runtime watch a global var ... cmd to use gdb -x gdb.cmd --arg <executable>
b StreamSetUserData
r
n
n
n
eval "watch *(int *)%p", &strm->userData
c
c
c
c
c
c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment