2

I have two projects in the project group that use the same units.

If I set breakpoints in one, then build and run the other, the breakpoints still apply:

enter image description here

Can breakpoints be active for one project only?

I only see two workarounds:

  • Manually disable/enable all breakpoints based on which program is running. Not nice if you have some disabled already (typical during debugging).
  • Making complicated conditional breakpoints. This makes execution slow.

(Delphi 11, Win 32)

1 Answer 1

7

Breakpoints are stored in the dsk file of the active project or project group. If you want breakpoints per project, you need to open each project directly. As soon as you open a project group that one is used to store breakpoints.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.