Vector35/debugger

Debugger does not show memory bytes if no file is opened before debugging

Closed this issue · 1 comments

In normal cases, we would open a file and then debug it. However, binja also supports debugging without first opening a file. This is now broken with the memory map change since -- I believe -- the memory map does not work on the raw view. Repro steps:

  1. Open binja
  2. Go to settings, set debugger.stopAtSystemEntryPoint to true
  3. Press Ctrl+N to create a new empty file
  4. Open the debugger sidebar, press the config button
  5. Set the executable path and then click OK
  6. Click Launch
  7. Observe while the debugging works, the memory bytes are not displayed. bv.memory_map returns {'MemoryMap': []}