Commands/debug

Starts or stops a debugging session. While active, includes notifications about potential performance bottlenecks in the console. When stopped, creates a profiler results file in the folder "debug".

Syntax

 * Starts a new debug time profiler session.


 * Stops the active debug time profiler session.


 * Used the same way as /function.

Function trace
When using, a txt file is created titled debug-trace-yyyy-MM-dd_HH.mm.ss.txt

Profile result
When using, a txt file is created titled profile-results-yyyy-MM-dd_HH.mm.ss.txt including the result of profile dump.

Report
When using, a ZIP file is created with the following structure:
 * debug-report-yyyy-MM-dd_HH.mm.ss.zip
 * levels
 * minecraft or  
 * overworld or the_end or the_nether or  
 * block_entities.csv: Contains a list of block entities in the world in the format.
 * chunks.csv: Contains a list of chunk information in the format.
 * entities.csv: Contains a list of entities in the world in the format.
 * example_crash.txt: An example crash file.
 * stats.txt: Contains some stats.
 * classpath.txt: Contains the file paths of the external jars Minecraft uses.
 * example_crash.txt: An example crash file.
 * gamerules.txt: A plain text file containing a list of game rules and their values.
 * stats.txt: Contains some stats.
 * threads.txt: All running threads.

History
Befehl/debug Comandos/debug 命令/debug