Commit Graph
6 Commits
Author SHA1 Message Date
Adeel Mujahid ce99c5658c Use ProductVersion in how-to-debug-dump (#59848)
* Use ProductVersion in how-to-debug-dump
2021-10-01 10:05:14 -07:00
Adeel Mujahid 37e1ba1f35 Update how-to-debug-dump template (#59798)
* Update how-to-debug-dump template

* Address CR feedback

* Update windows instructions

* Use backslashes on Windows
2021-09-30 15:13:07 +02:00
Mike McLaughlinandJuan Sebastian Hoyos Ayala 79ad10cf22 Add MachO dump writer to createdump (#51150)
* Add MachO dump writer to createdump

Instead of the hacky ELF core dumps on MacOS now createdump generates true MachO dumps.

Setting the COMPlus_DbgEnableElfDumpOnMacOS environment variable is no longer needed.

Add special thread info memory region containing the OS thread ids missing from macho core dumps. This allows SOS to map the thread indexes to thread ids. The address (0x7fffffff00000000) of this special memory region is above the highest user address (0x0007FFFFFFFFF000) and below a kernel reserved address (0xffffff8000xxxxxx) which is kind of moot because dumps don't include any kernel regions. lldb seems just fine with this memory region.

The changes include ARM64 support also, but since I don't have a M1 device I can't build/test them. I'm hoping Steve can at least review them.

Add --verbose/TRACE_VERBOSE support to tone down all the macho dump generation spew.

Issue: #48664

* Fix build problem

* Update docs

* Code review feedback

Co-authored-by: Juan Sebastian Hoyos Ayala <[email protected]>
2021-04-15 21:45:55 +00:00
Santiago Fernandez Madero 11cd2721a9 Update debug dump template after runfo update to include dumps (#49183)
* Update debug dump template after runfo update to include dumps

* Fix workitem param and generate a dump command per dump found

* PR Feedback
2021-03-05 21:15:29 -08:00
Dan MoseleyandJan Kotas d4d50db676 Improve generated dump debugging instructions (#46493)
* Improve generated dump debugging instructions

* Update eng/testing/debug-dump-template.md

Co-authored-by: Jan Kotas <[email protected]>

* Update eng/testing/debug-dump-template.md

Co-authored-by: Jan Kotas <[email protected]>

* Update eng/testing/debug-dump-template.md

Co-authored-by: Jan Kotas <[email protected]>

* Update debug-dump-template.md

* Fix ```

* fix some ```cmd

* Reverse .cmd to .bat

* Open only for reading

* Improve foldername

* Install only one SOS

Co-authored-by: Jan Kotas <[email protected]>
2021-01-05 07:57:42 -08:00
Santiago Fernandez Madero 070323db0d Add debugging a ci dump documentation template and script to fill info and include it on azdo test tab (#43937)
* Add debugging a ci dump documentation template and script to generate it on helix

* PR Feedback and fix helix workitems

* Fix python script and -buildid argument

* Upload doc only if dumps were found

* Pass down templatedir

* PR feedback
2020-11-04 12:28:33 -08:00