Pause the Profiler. Previously captured frames stay available for 'frames'/'snapshot'.
(ctx: typer.Context)
| 69 | |
| 70 | @profiler_app.command("stop") |
| 71 | def profiler_stop(ctx: typer.Context) -> None: |
| 72 | """Pause the Profiler. Previously captured frames stay available for 'frames'/'snapshot'.""" |
| 73 | context: CLIContext = ctx.obj |
| 74 | try: |
| 75 | result = context.client.profiler.stop() |
| 76 | print_success(result.get("message", "Profiler stopped")) |
| 77 | except UnityCLIError as e: |
| 78 | _handle_error(e) |
| 79 | |
| 80 | |
| 81 | @profiler_app.command("snapshot") |
nothing calls this directly
no test coverage detected