Commands/debug

Starts or stops a debugging session.

Syntax



 * Arguments


 * start
 * Starts a new debug profiling session.
 * stop
 * Stops the active debug profiling session.
 * report
 * Used to get more detailed information while debugging performance. Saves information in the .minecraft\debug folder in the form of a zip file.


 * Result


 * Fails if trying to start a debug session when one is already active, or if trying to stop a debug session when none is running.


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

File structure
When using, a .zip file is created with the following structure:


 * debug-report-year-month-day_hour.minute.second.zip
 * levels
 * minecraft or other custom namespaces
 * overworld or the_end or the_nether or other custom dimensions
 * 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 statistics.
 * 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.

History
Befehl/debug Comandos/debug 命令/debug