MSBuildStructuredLog icon indicating copy to clipboard operation
MSBuildStructuredLog copied to clipboard

MSBuildStructuredLog hangs a lot

Open adrianvmsft opened this issue 1 year ago • 5 comments

I am using 2.2.342 (on DevBox) and I run into lots and lots of hangs where the app just stops responding to mouse inputs. Not sure if DevBox has something to do with it.

I don't have a consistent repro.

Please ping me and I can share a dump.

adrianvmsft avatar Sep 13 '24 18:09 adrianvmsft

Are you using dark theme? Can you try using the light theme and see if the issues go away?

KirillOsenkov avatar Sep 13 '24 18:09 KirillOsenkov

if it hangs a lot, could you profile and see what the prevalent call stack is?

KirillOsenkov avatar Sep 13 '24 18:09 KirillOsenkov

I've noticed that MSBuild Structured Log Viewer will stop responding on devbox and freeze whenever after I wake my device up after sleeping/locking. This repros consistently. (I'm on light theme v2.2.383)

  1. Open binlog viewer on a devbox
  2. Lock your actual device (not devbox)
  3. Unlock and go back to your devbox and try interacting with the LogViewer that you've left open

I usually just close it and reopen and everything works again.

DianaSoltani avatar Nov 14 '24 18:11 DianaSoltani

unfortunately this is known and nothing we can do about :( what version are you on?

KirillOsenkov avatar Nov 14 '24 18:11 KirillOsenkov

oh you're on 2.2.383 which is the latest indeed. If you want to figure this out, you could open VS, Debug -> Attach to Process, select StructuredLogViewer.exe, break, and then see what the call stack is. If it has VirtualizingStackPanel, Measure, Layout or Arrange then there's absolutely nothing we can do about it.

KirillOsenkov avatar Nov 15 '24 02:11 KirillOsenkov