Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
899 stars 203 forks source link

Remember selected log category across restarts #4389

Closed jonpalmisc closed 1 year ago

jonpalmisc commented 1 year ago

It would be helpful if there were a way to make the log category selection (BinaryView.MachoView in the picture below) stay selected across restarts.

image

This is particularly helpful when you are developing a new plugin and are frequently checking debug messages, etc., but don't care about the log output of anything else.

Right now, to test my changes to my plugin, I have to restart Binary Ninja, reopen a file, then re-select the log category. The first two steps are obviously necessary, but avoiding the last one would be a nice quality of life improvement.

psifertex commented 1 year ago

Re-opening a file is not required!

Use the "restart and reopen files" action.

Instead of only doing it on restart, I'll just make that filter sticky in general across both restarts and tabs.

Resolved in builds >= 3.5.4319

plafosse commented 1 year ago

The commit that added this caused a major UI performance regression and had to be reverted.

fuzyll commented 1 year ago

This should be fixed in builds >= 3.5.4352, but with better performance this time. Please comment on this issue if you notice performance issues again, or any other edge cases, with the new implementation.