c++ - gdb调试,如果一行有多个函数,如何指定步入哪一个?
阿神
阿神 2017-04-17 11:34:17
0
4
571
QueryVarVal vv(VAR_VAL_SCHEMA, variable, sc, sc->getId());

我想步入的是外面这个函数vv(),但是实际调试的时候它步入的是后面的函数sc->getId()

阿神
阿神

闭关修行中......

reply all(4)
黄舟

If no additional breakpoints are added:

s        # enter sc->getId()
finish   # exit sc->getId()
s        # enter vv()
伊谢尔伦

Execution order issue.
vv

will be entered after executing sc->getId()
PHPzhong

b vv
continue

Peter_Zhu

Use the call command to call a function, or try jumping

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!