{"tool":"trace","tool_display":"Trace","intent":"trace-method-invoke-chain","intent_display":"trace method invoke chain","title":"Trace Command: trace method invoke chain","command_string":"trace <class-pattern> <method-pattern>","raw_command_string":"trace {{class-pattern}} {{method-pattern}}","description":"Exact CLI syntax to trace method invoke chain using Trace.","usage_scenario":"Deploy 'trace {{class-pattern}} {{method-pattern}}' when diagnosing method invocation paths in a real-time Java application. This is critical when pinpointing performance bottlenecks or verifying the behavior of complex systems without stopping the application.","scenario_context":"Trace method invocations for real-time insights into Java application performance bottlenecks.","simulated_output":"Tracing method invocation chain for patterns:\n\nClass Pattern: com.example.*\nMethod Pattern: *.calculate()\n\n+-------------------------+---------------------+\n| Class Name              | Method Name         |\n+-------------------------+---------------------+\n| com.example.ServiceA    | calculate()        |\n| com.example.ServiceB    | calculate()        |\n| com.example.ServiceC    | calculate()        |\n+-------------------------+---------------------+\n\nTrace completed successfully!","how_to_steps":["Run the command: trace com.example.* *.calculate()","Monitor the output for the methods invoked and their execution sequence.","Use the output to identify any performance issues or unexpected behavior."],"inferred_category":"Observability","canonical_url":"https://www.syntaxstandard.com/trace/trace-method-invoke-chain"}