raddebugger icon indicating copy to clipboard operation
raddebugger copied to clipboard

Can't set breakpoint on where the cursor stands.

Open DevAgu93 opened this issue 1 year ago • 1 comments

When trying to click on the stepping cursor, I can't set a breakpoint there:

https://github.com/EpicGames/raddebugger/assets/63572671/89bca616-85f1-4af4-9d26-63386ceef95d

DevAgu93 avatar Jan 13 '24 18:01 DevAgu93

The way to do this currently is to either use the default binding of F9 (after closing the query bar), or to right-click the line and click "Place Breakpoint". I might end up splitting the columns in the future, such that the breakpoint column is always separate from the instruction pointer column, but there is kind of an unavoidable problem here in any case, which is that individual source lines tend to have a lot of information, and so you can't reserve the most compressed inputs (e.g. left-mouse-click) for everything you might want to do on any line.

ryanfleury avatar Jan 13 '24 19:01 ryanfleury

I've decided to not go through with that plan and consider this "working as intended", as there will always be ways to stack multiple entities (breakpoints, watch pins, threads) on a single line, and so making a dedicated breakpoint margin would not actually solve the issue (and it'd compromise a bit on horizontal bandwidth of the source view). Given that there is already a path to doing this anyways (F9 and/or the context menu), both via keyboard & via mouse, I think this is fine.

ryanfleury avatar Jan 23 '24 23:01 ryanfleury