4

I have a project I'm working on in Qt Creator that requires breakpoints to debug. I would like to be able to add a breakpoint by clicking next to the line number, because it is intuitive to me. However, when I click in Qt Creator, the code is folded and and no breakpoint is added.

I can toggle a breakpoint by pressing F9, so this is not the main issue. I can even add a breakpoint by clicking on the left of the line number. However, I tend to click on the right of the line number, which results in folding my code. Can I disable code folding somehow?

4

1 に答える 1

5

[ツール] > [オプション] > [テキスト エディター] > [表示] > [折りたたみマーカーを表示] のチェックを外すと、折りたたみマーカーを非表示にできます。ドキュメントの関連部分を参照してください:ハイライトと折りたたみブロック

于 2012-11-10T07:32:17.800 に答える