microsoft / SizeBench

SizeBench is a binary size investigation tool for Windows
MIT License
103 stars 14 forks source link

Infinite "Initializing debugging engine" #19

Open vorlov-playrix opened 1 year ago

vorlov-playrix commented 1 year ago

Describe the bug When using features that require the debugging engine, SizeBench loops forever in "Initializing debugging engine" state.

What you are doing

  1. Download and install latest release from Windows Store.
  2. Run an analysis on a single binary. In my case this is C++ built with MSVC 2022 17.6.3, 50 MB exe and ~900 MB pdb.
  3. Select template foldability analysis
  4. In results, try to fall inside any record

It also reproduces with other features that require debugging engine.

Expected behavior Either to have all necessary things installed with SizeBench or to provide meaningful error message with instructions for fixing an issue on user side.

Screenshots image

Environment Details

Additional context Application loops but doesn't hang, i.e. it responds to the input. I can use File and Help menus and open About SizeBench. Modal popup with "Initializing debugging engine" has a clickable X button but nothing happens on click. The longest trial is around 30 min with no progress. SizeBench.GUI.exe uses 0-1% of CPU. Memory consumption doesn't change.