I think I’m not using the best method establish breakpoints. I spend a lot of time doing this:
- Set a breakpoint, and run in debug mode several times to that point until problem is resolved.
- Then run into another issue farther into the script, so I:
A) Delete All Breakpoints
B) Set a new breakpoint
Is there a better approach? I thought of using Execute To Here instead of breakpoints, but that doesn’t help with needing to pause multiple times at the same point until the issue is resolved. Temporary breakpoints won’t help in this case.
It would be cool if “Execute To Here” would ignore previous breakpoints, but perhaps that would be confusing. Plus, I’d have to set it again when running again.
A modifier key combination (opt-cmd) click to add a new breakpoint while deleting all others would be ideal in my mind, unless I’m missing some existing option.