question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EnableAotAnalyzer=true should also default EnableSingleFileAnalyzer=true

See original GitHub issue

There are almost no situations where I want to enable the AOT analyzer, but don’t also want the Single File analyzer. We should set EnableSingleFileAnalyzer=true by default when someone sets EnableAotAnalyzer=true.

In dotnet/aspnetcore we enabled the AOT analyzer, thinking that would be enough to catch NativeAOT warnings. But we didn’t remember to enable the SingleFile analyzer, and thus warnings slipped through.

@vitek-karas @agocke @sbomer @MichalStrehovsky

Issue Analytics

  • State:closed
  • Created 6 months ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
eerhardtcommented, Apr 4, 2023

Would IsAotCompatible=true mean:

  • EnableTrimAnalzyer defaults to true
  • EnableSingleFileAnalyzer defaults to true
  • EnableAotAnalyzer defaults to true
  • IsTrimmable defaults to true

?

1reaction
sbomercommented, Apr 12, 2023

Agreed, I prefer IsAotCompatible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found