mojira.dev
MC-235576

Not seeing debug logs created after /debug start and /debug stop

When looking to profile what's causing my server to struggle, I have always used /debug start and /debug stop to get a bunch of profiling data. 

Since 1.17.1, I am unable to get any of the profiling data.

I expect to see files created in <gamedir>/debug titled profile-results-yyyy-MM-dd_HH.mm.ss.txt

but I'm getting nothing. 

I'm seeing this behaviour both using the vanilla Mojang launcher as well as in the dedicated server based on 1.17.1.

Have I missed something, or is this no longer working?

 

Comments 3

Can confirm the same is happening for me. /debug stop doesn't return anything besides stopping the tick profiling. /debug function works perfectly fine however.

/debug has been replaced with /perf see the 1.17 pre-release 1 changelog try using /pref and check if you still have this issue

I’ll add some extra info here because it’s a google result for /debug stop not outputting a file. I’m on forge minecraft 1.20.1, not sure if it applies anywhere else:

When in singleplayer, /pref is not available, and /debug doesn’t output a file, leaving you with only F3+L as an option which does output a file after 10 seconds.

Nathan Kroenert

(Unassigned)

Unconfirmed

(Unassigned)

1.17.1

Retrieved