Why is code not stopping at breakpoints in playground in swift file in Sources folder?

I am using Playground, and I am able to set breakpoints in a file in the Source folder, but code execution doesn't stop at the breakpoints. I know the code runs to those points, because there are print statements that print into the debug area that are placed between those breakpoints.

What should I do? Is there a setting that would fix this?

Playground have no breakpoint. I suspect you can edit them in files but they are not taken into account by the REPL execution engine.

See Quinn's answer here: https://developer.apple.com/forums/thread/112437

Why is code not stopping at breakpoints in playground in swift file in Sources folder?
 
 
Q