binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Selecting a variable in the linear/graph view should also focus it in the stack/variable view

Open utkonos opened this issue 1 year ago • 1 comments

Version and Platform (required):

  • Binary Ninja Version: 4.0.4958
  • OS: macOS
  • OS Version: 14.4.1
  • CPU Architecture: x64

Bug Description: Selecting a variable in the Disassembly view does not change focus in the Stack pane.

Steps To Reproduce:

  1. Open Stack pane via new icon in upper right.
  2. Click on a variable.
  3. Observe that the focus in the Disassebly view changes to the selected variable.
  4. Now select a different variable by clicking in the Disassembly view.
  5. Notice that the focus in the Stack pane is still the formerly selected variable.

Expected Behavior: If I click on a variable in the Disassembly view, the same variable should have focus changed to it in the Stack pane. This behavior would then match what happens in the Variables pane.

utkonos avatar Apr 12 '24 13:04 utkonos

This sounds like a nice feature to have. I have spent (wasted) considerable time just trying to locate the same variable in the stack view.

Getting this feature done probably requires certain notification system that we do not yet have. But I remember people have been asking for it, and the debugger might also benefit from it

xusheng6 avatar Apr 16 '24 03:04 xusheng6