Created
September 29, 2020 10:15
-
-
Save chrisnas/7a305cfa5fdf075e0113f2c687be4e5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > help dcq | |
| ------------------------------------------------------------------------------- | |
| DumpConcurrentQueue | |
| Lists all items in the given concurrent queue. | |
| For simple types such as numbers, boolean and string, values are shown. | |
| > dcq 00000202a79320e8 | |
| System.Collections.Concurrent.ConcurrentQueue<System.Int32> | |
| 1 - 0 | |
| 2 - 1 | |
| 3 - 2 | |
| In case of reference types, the command to dump each object is shown. | |
| > dcq 00000202a79337f8 | |
| System.Collections.Concurrent.ConcurrentQueue<ForDump.ReferenceType> | |
| 1 - dumpobj 0x202a7934e38 | |
| 2 - dumpobj 0x202a7934fd0 | |
| 3 - dumpobj 0x202a7935078 | |
| For value types, the command to dump each array segment is shown. | |
| The next step is to manually dump each element with dumpvc <the Element Methodtable> <[item] address>. | |
| > dcq 00000202a7933370 | |
| System.Collections.Concurrent.ConcurrentQueue<ForDump.ValueType> | |
| 1 - dumparray 202a79334e0 | |
| 2 - dumparray 202a7938a88 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment