1. 15 1月, 2020 1 次提交
    • T
      EnC: Tweak handling of out-of-sync documents to work around source file... · 5f86d25c
      Tomáš Matoušek 提交于
      EnC: Tweak handling of out-of-sync documents to work around source file content inconsistencies (#40947)
      
      * Do not block in presence of out-of-sync documents.
      
      Instead, ignore any changes made to these documents while debugging until their content matches the source used to build the baseline DLL.
      
      * Only check output PDB, not debugger SymReader, for document checksums.
      Turns out SymReader does not support reading document checksums once EnC changes have been applied.
      
      Better handle errors that might occur when validating checksums. Previously some of the errors were not reported as diagnostics.
      
      We previously blocked EnC when we observed a source file that is out-of-sync (i.e. its current content does not match the checksum in the originally built PDB). We can however just ignore these files and report a warning that changes made to this file won’t be applied until the file content is reverted back to the state it was when the PDB was built (the file transitions to “matching” state). Once a file is in matching state it can’t change back to another state. We know that we have not applied any change to the code that was compiled from the file because we ignored the file while it was in out-of-sync state. Therefore we know that any changes made from now on can be safely applied to the debuggee.
      
      If we can’t determine whether a file matches or not due to error reading the PDB or the source file content we can treat it similarly to out-of-sync file. That is, ignore any changes until we are able to confirm the file matches. That can happen if, e.g. the PDB is temporarily locked by another process and unlocked later.
      
      Simplify implementation of GetStatusAsync.
      
      Fixes VSO [1051496](https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1051496) ([VS feedback](https://developercommunity.visualstudio.com/content/problem/880533/edits-were-made-which-cannot-be-compiled-stop-debu.html))
      5f86d25c
  2. 19 12月, 2019 2 次提交
  3. 07 12月, 2019 2 次提交
  4. 04 12月, 2019 1 次提交
  5. 19 11月, 2019 1 次提交
  6. 18 10月, 2019 1 次提交
  7. 15 10月, 2019 2 次提交
  8. 11 10月, 2019 1 次提交
  9. 05 10月, 2019 1 次提交
  10. 28 9月, 2019 1 次提交
  11. 25 9月, 2019 1 次提交
  12. 11 9月, 2019 2 次提交
  13. 06 8月, 2019 1 次提交
  14. 30 7月, 2019 1 次提交
  15. 14 7月, 2019 2 次提交
  16. 28 6月, 2019 1 次提交
  17. 15 6月, 2019 2 次提交
  18. 14 6月, 2019 1 次提交
  19. 08 5月, 2019 1 次提交
  20. 28 3月, 2019 1 次提交
  21. 02 3月, 2019 1 次提交
  22. 10 12月, 2018 1 次提交
  23. 03 7月, 2018 1 次提交
    • J
      Typo (#28177) · b28a71cd
      John Doe 提交于
      * accesibility -> accessibility
      
      * Acess -> Access
      
      * actua -> actual
      
      * agnotic -> agnostic
      
      * aks -> ask
      
      * Algoritm -> Algorithm
      
      * alphabeitcally -> alphabetically
      
      * Analayzer -> Analyzer
      
      * analyer -> analyzer
      
      * anlysis -> analysis
      b28a71cd
  24. 07 5月, 2018 1 次提交
  25. 20 4月, 2018 1 次提交
    • T
      Fixes mapping of active statement when changing ctor body from block to expression (#26216) · c1452f14
      Tomáš Matoušek 提交于
      * Fixes mapping of active statement when changing ctor body from block to expression
      
      * Fix GetAllAddedSymbolsAsync.
      
      - Recover from unexpected exceptions.
      - Ignore documents that do not belong to the project being emitted during EnC (these could be e.g. speculative documents created by code fix preview).
      
      Change fields of DocumentAnalysisResults to properties to workaround a bug in the VIL that causes evaluation to fail on them, thus making it hard to see the values while debugging Roslyn.
      c1452f14
  26. 16 2月, 2018 1 次提交
    • T
      Redesign active statement handling during debugging (#24428) · 11c4bb2f
      Tomáš Matoušek 提交于
      * Active Statement Handling
      
      * Start active statement tracking on background thread
      
      * Ensure XAPI is initialized before calling Concord APIs.
      
      * Fix up and add comments
      
      * Call UninitializeThread in VisualStudioActiveStatementProvider
      
      * Fixes
      
      * PR feedback
      
      * Use dispose pattern for debugger thread initialization
      
      * Finish test
      
      * PR feedback
      
      * Do not track active statements in projects that do not support Roslyn EnC service (e.g. F#)
      
      * Update comment.
      
      * EnC: Report diagnostics for unexpected recoverable exceptions.
      
      * Tweak NFW reporting
      
      * Account for workspace changes in ActiveStatementTagger
      
      * Unsubscribe event in dispose
      
      * Fix initialization of non-remappable regions for unchanged AS in updated method
      
      * Keep non-remappable regions from previous edit session if no edits were made.
      
      * Update xlfs
      
      * Avoid double-free on cancellation
      
      * Avoid calling DkmWorkList.Cancel for now
      
      * Handle active statement without location
      11c4bb2f
  27. 24 2月, 2017 1 次提交
  28. 21 11月, 2016 1 次提交
  29. 24 6月, 2016 1 次提交
  30. 10 6月, 2016 1 次提交
  31. 07 6月, 2016 1 次提交
  32. 21 5月, 2016 1 次提交
    • M
      Move Roslyn to newer toolset packages (#10312) · 40e2a0c8
      Manish Vasani 提交于
      * Move Roslyn to newer toolset packages
      
      1. Move to 1.2.1 compiler toolset package.
      2. Move to 1.2.0-beta1 analyzer packages.
      3. Turn on IOperation feature flag for all projects as the new analyzer packages have IOperation based analyzers.
      
      * Use the Roslyn wide default CA rulesets for newly added samples project.
      
      * Fix couple of test projects to use the Roslyn wide rulesets for code analysis.
      
      * Move to analyzers 1.2.0-beta2 packages (multiple fixes and enhancements to Roslyn diagnostic analyzers)
      
      * Revert accidental file mode changes.
      
      * Move shipped implicit constructors to public API shipped files.
      
      Fixes #11446
      40e2a0c8
  33. 16 10月, 2015 1 次提交
  34. 26 8月, 2015 1 次提交