In Delphi: How to skip sections of code while debugging?

前端 未结 8 1217
有刺的猬
有刺的猬 2020-12-24 04:18

I often accidently step into code that I\'m not interested in while debugging in Delphi.

Let\'s start by saying that I know that you can step over with F8, and that

8条回答
  •  执笔经年
    2020-12-24 05:04

    In the project dpr file, I use

    uses
    {$IFNDEF DEBUG} FastMM4, {$ENDIF}
      ... // other units
    

    to exclude FastMM4 during debug mode. Requires no change in FastMM4 so I don't have to remember to add {$D-} in FastMM when I change to a different version.

提交回复
热议问题