1. 12 10月, 2020 1 次提交
  2. 17 9月, 2020 1 次提交
  3. 27 8月, 2020 2 次提交
  4. 21 8月, 2020 2 次提交
  5. 14 8月, 2020 1 次提交
  6. 11 8月, 2020 1 次提交
    • U
      Exposing functions: mono_custom_attrs_construct_by_type and mono_unity_error_convert_to_exception · 97290454
      UnityAlex 提交于
      * mono_custom_attrs_construct_by_type allows unity to have a chance at handling the error if one arises instead of fatally asserting
      * mono_unity_error_convert_to_exception allows unity to take the provided MonoError and fetch the MonoException object within to log into the editor as the exception that was thrown.
      
      This change has associated unity changes in order to fix (case 1255935)
      97290454
  7. 02 7月, 2020 1 次提交
  8. 29 6月, 2020 4 次提交
  9. 17 6月, 2020 1 次提交
    • T
      [debugger] Fixing two crashes while debugging an Android app. (#13373) · 3b268dc6
      Thays Grazia 提交于
      * [debugger] Fixing two crashes while debugging an Android app.
      
      -> Doing stepping into in VSM in some situation the frame saved in TLS is not synchronised with what is really been executed in the main thread. This makes the debugger-agent crashes because it tries to get variable info in some memory that is not available anymore.
      	-> To fix it I forced the update of stack when CMD_THREAD_GET_FRAME_INFO is called.
      
      -> Doing step over in Visual Studio for Windows, if you have the threads debugger window enabled, VSW calls frame_commands for each thread that is showed, and if the thread is not really_suspended it tries to get variable info from a memory that is not available anymore because the thread is not suspended yet.
      	-> To fix it I don't send variable info of a frame if the thread is not really_suspended and doesn't have an async_state valid.
      
      Cherry-picked with some light massaging by Alex Thibodeau (case 1249172)
      3b268dc6
  10. 26 5月, 2020 2 次提交
  11. 19 5月, 2020 1 次提交
  12. 18 5月, 2020 1 次提交
  13. 15 5月, 2020 1 次提交
  14. 11 5月, 2020 3 次提交
  15. 07 5月, 2020 1 次提交
  16. 20 4月, 2020 1 次提交
  17. 17 4月, 2020 1 次提交
    • J
      Add ETW enabled checks to ConcurrentBag implementation (case 1230447) · 4354cc38
      Josh Peterson 提交于
      This change modifies the `ConcurrentBag` implementation from corefx.
      Since we cannot update the corefx submodule, make a copy of the
      ConcurrentBag.cs file, fix the issue, and point the build at this copy.
      
      The change is in the `TrySteal` method. It makes calls on the
      `CDSCollectionETWBCLProvider`, which is removed by the manged linker
      by default. Those calls should be wrapped in a
      `CDSCollectionETWBCLProvider.Log.IsEnabled()` if block, so the linker
      can understand to not make the calls.
      4354cc38
  18. 13 4月, 2020 1 次提交
    • T
      [debugger] Fix NOT_IMPLEMENTED while debugging. (#19248) · b6425f60
      Thays Grazia 提交于
      - Changed the behavior on debugger-agent, if we can't parse the new behavior is to return invalid_argument and not assert and stop debugging
      - Changed the mono_domain_set_fast before return from assembly_commands.
      - Add error message when return INVALID_ARGUMENT
      
      Fixes #19146
      b6425f60
  19. 26 3月, 2020 2 次提交
    • J
      Optimize Enum.HasFlags (). · 2978aa00
      Jonathan Chambers 提交于
      Manually applied cherry-pick of https://github.com/mono/mono/pull/8428
      
      Unity: Avoid allocation in Enum.HasFlags (case 1211643)
      
      * [jit] Decompose some CEE_BOX opcodes later to allow more optimizations.
      
      Optimize a code sequence emitted for Enum.HasFlag () by newer csc versions.
      Also mark the temporary bblocks used by decompose_vtypes () as out-of-line if
      the bblock under processing is out-of-line. Mark the domainvar as volatile to avoid
      optimizing it away since references to it can now be generated later from the
      decomposition of OP_BOX.
      
      * [jit] Check that the enum types are the same.
      
      * [jit] Fix support for generic enums.
      
      * [jit] Disable the optimization with 64 bit enums on 32 bit platforms.
      2978aa00
    • J
      Do not access unloading domains in debugger (case 1013579) · bd7f004e
      Jonathan Chambers 提交于
      There was a race where a domain was being unloaded while debugger would access it. A domain was only removed from the 'appdomains_list' as a very last step. The domain was already invalid to access at this point (locks freed for example).
      
      Worse, images would be unloaded if only referenced by that domain. All places the debugger iterates domains hold the loader lock. The loader lock is acquired by the domain unloading process, so as long as a domain is not unloading when we access it inside of the loader lock we are safe.
      bd7f004e
  20. 25 3月, 2020 1 次提交
  21. 22 3月, 2020 1 次提交
  22. 08 3月, 2020 1 次提交
  23. 05 3月, 2020 1 次提交
  24. 04 3月, 2020 3 次提交
  25. 26 2月, 2020 2 次提交
  26. 04 2月, 2020 1 次提交
    • T
      [Debugger] Fix crash when there is a generic struct with a field that is an enumerator. (#12368) · 522cfb6d
      Thays Grazia 提交于
      * [Debugger]  Debugger crashes when inside a class, there is an internal struct, with a field that is an enumerator.
      files.myBucket.GetEnumerator().get_Current().Key
      Fixes #10735
      
      * [Debugger] Debugger crashes when there is a generic struct with a field that is an enumerator.
      Example: files.get_Current().Key
      A unit test that reproduces this crash was added too.
      Fixes #10735
      
      * Removing the extra space.
      
      * UnityAlex cherry-pick modification: Removed tests
      522cfb6d
  27. 01 2月, 2020 1 次提交
  28. 24 1月, 2020 1 次提交