Breakpoint on collapsed include
I have encountered a couple of issues with breakpoints in Rider.
Given the following C++ code (that I simplified as an example snippet rather than the actual code I'm running), you can add a breakpoint on an include line even though that line has no executable code.

You can then collapse the include lines and the breakpoint disappears on the sidebar. Expanding it again will show it again.

When executing this code, the program will break once the Increment method is called.
There appear to be 3 issues here.
- You should not be able to add a breakpoint on a #include line
- When collapsing a piece of code, it should show a breakpoint icon on the line it got collapsed to
- When a breakpoint is triggered on normal code, the lines are expanded. This does not happen in this case.
Please sign in to leave a comment.
Hello Jimmy,
Thank you for your time spent leaving the feedback.
We agree that the current behavior is not ideal. We discussed this behavior internally and I created the following issues on our tracker:
We would appreciate it if you could upvote these issues to demonstrate the additional interest.
Should you have any other questions, feedback or difficulties, please let me know.
Have a nice day!