提交 2231c0e7 编写于 作者: D Derek Parker

Add reminder for "Next" optimization

上级 6363ce10
......@@ -316,6 +316,8 @@ func (dbp *DebuggedProcess) Next() error {
return err
}
// TODO: if we have stepped into another function,
// find return address and continue there.
_, nl, nfn := dbp.GoSymTable.PCToLine(pc)
if nfn == fn && nl != l {
break
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册