Skip to content

be开发环境调试,有些行无法打断点 #7666

Answered by BiteTheDDDDt
stgztsw asked this question in Q&A
Discussion options

You must be logged in to vote

因为cpp程序经过编译器优化, 实际执行的代码已经不是你看到的那样了.
可以试着开启debug模式编译, 这会降低编译优化等级, 不过也仍然会有不能打断点的地方.

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
1 reply
@stgztsw
Comment options

Answer selected by stgztsw
Comment options

You must be logged in to vote
14 replies
@Cherry-Puppy
Comment options

@BiteTheDDDDt
Comment options

@Cherry-Puppy
Comment options

@BiteTheDDDDt
Comment options

@Cherry-Puppy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants