You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starts an interactive shell with debugging commands to explore a dump
457
457
458
-
dump_path
459
-
The dump to analyze
458
+
Usage:
459
+
dotnet-dump analyze [options] <dump_path>
460
+
461
+
Arguments:
462
+
<dump_path> Name of the dump file to analyze.
463
+
464
+
Options:
465
+
-h, --help
466
+
Show command line help
467
+
468
+
-c, --command <command>
469
+
Run the command on start.
470
+
471
+
Examples:
460
472
461
-
Examples:
462
473
$ dotnet-dump analyze ./core_20190226_135850
463
474
Loading core dump: ./core_20190226_135850
464
475
Ready to process analysis commands. Type 'help' to list available commands or 'help [command]' to get detailed help on a command.
@@ -468,8 +479,48 @@ ANALYZE
468
479
469
480
### dotnet-dump analyze nested command syntax
470
481
471
-
By default these commands should come from SOS and include at least help, dumpheap, dumpobject, dumparray, and printexception. If we can get more easily we should. In addition new commands are listed below:
472
-
482
+
The following commands are supported:
483
+
484
+
```
485
+
exit, quit Exit interactive mode.
486
+
help <command> Display help for a command.
487
+
lm, modules Displays the native modules in the process.
488
+
threads, setthread <threadid> Sets or displays the current thread id for the SOS commands.
489
+
clrstack <arguments> Provides a stack trace of managed code only.
490
+
clrthreads <arguments> List the managed threads running.
491
+
dumpasync <arguments> Displays info about async state machines on the garbage-collected heap.
492
+
dumpassembly <arguments> Displays details about an assembly.
493
+
dumpclass <arguments> Displays information about a EE class structure at the specified address.
494
+
dumpdelegate <arguments> Displays information about a delegate.
495
+
dumpdomain <arguments> Displays information all the AppDomains and all assemblies within the domains.
496
+
dumpheap <arguments> Displays info about the garbage-collected heap and collection statistics about objects.
497
+
dumpil <arguments> Displays the Microsoft intermediate language (MSIL) that is associated with a managed method.
498
+
dumplog <arguments> Writes the contents of an in-memory stress log to the specified file.
499
+
dumpmd <arguments> Displays information about a MethodDesc structure at the specified address.
500
+
dumpmodule <arguments> Displays information about a EE module structure at the specified address.
501
+
dumpmt <arguments> Displays information about a method table at the specified address.
502
+
dumpobj <arguments> Displays info about an object at the specified address.
503
+
dso, dumpstackobjects <arguments> Displays all managed objects found within the bounds of the current stack.
504
+
eeheap <arguments> Displays info about process memory consumed by internal runtime data structures.
505
+
finalizequeue <arguments> Displays all objects registered for finalization.
506
+
gcroot <arguments> Displays info about references (or roots) to an object at the specified address.
507
+
gcwhere <arguments> Displays the location in the GC heap of the argument passed in.
508
+
ip2md <arguments> Displays the MethodDesc structure at the specified address in code that has been JIT-compiled.
509
+
name2ee <arguments> Displays the MethodTable structure and EEClass structure for the specified type or method in the specified module.
510
+
pe, printexception <arguments> Displays and formats fields of any object derived from the Exception class at the specified address.
511
+
syncblk <arguments> Displays the SyncBlock holder info.
512
+
histclear <arguments> Releases any resources used by the family of Hist commands.
513
+
histinit <arguments> Initializes the SOS structures from the stress log saved in the debuggee.
514
+
histobj <arguments> Examines all stress log relocation records and displays the chain of garbage collection relocations that may have led to the address passed in as an argument.
515
+
histobjfind <arguments> Displays all the log entries that reference an object at the specified address.
516
+
histroot <arguments> Displays information related to both promotions and relocations of the specified root.
517
+
setsymbolserver <arguments> Enables the symbol server support.
518
+
```
519
+
520
+
The "modules", "threads" and "setthread" commands display/control the native state.
0 commit comments