Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions docs/cody/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,31 @@ Note that you may need to quit VSCode first, then run that command to re-launch

![](https://gist.github.com/assets/458591/d590636b-31e5-4436-8039-ee62b7a8e59f)

### Record a CPU profile for Cody in VSCode

If you are experiencing performance issues with Cody in VSCode, recording a CPU profile can help diagnose the problem. Here’s how you can capture a CPU profile:

1. **Open Developer Tools**:
- In VSCode, go to the Command Palette (`Ctrl+Shift+P` on Windows/Linux, `Cmd+Shift+P` on macOS).
- Type `Developer: show running extensions` and select it to open running extensions.

2. **Record the CPU Profile**:
- There you should see Cody in the list. Right click on it and start a host profile.
- This will show you the running profile in the bottom right of the window.
- Reproduce the issue you are experiencing with Cody.
- Once you have reproduced the issue, click the message in the bottom right you stop the trace.

3. **Save the CPU Profile**:
- After stopping the trace, you need to go back to the Developer: show running extensions view.
- Right click Cody and click `Save extension profile`.

4. **Share the CPU Profile**:
- Attach the `.cpuprofile` file to your issue report on GitHub or share it with the support team for further analysis.

Following these steps will help the team understand and resolve the performance issues more effectively.



## JetBrains IntelliJ extension

### Access Cody logs
Expand Down