> For the complete documentation index, see [llms.txt](https://obvious-game.gitbook.io/soap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://obvious-game.gitbook.io/soap/soap-core-assets/scriptable-event/debugging.md).

# Debugging

Scriptable events also have their own play mode custom inspector. During play mode, you can inspect all GameObjects that are registered to that event:&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcE5XqtzgwjhI1iCFSd6PVchNVC5fCH7ErfmXGxpE2UWulSWGue7YVWUKuQGRvw1MNpDs81oJo5oBTW5h9N4NCvzLLXeDKtepAQlKTbNxx3DiGffYKZRE8Nk-j2d83qH02AgntgLbwt-ibtPGKnp2W7B12q?key=N4RcKQrHpqe_tYkdKbHJhg" alt="" width="375"><figcaption></figcaption></figure>

In editor, if you don’t remember which event calls a method in one of your scripts, you can use the Events Debug Window. You can access it through the menu:&#x20;

Window/Obvious/Soap/Event Debug Window&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcjnPChH-HVZqAY8DaZ9p0mRYUDvuK6zflAdoDoSeBPwk5Yv_w7mqgJ-0aMAbRxb0zqvm4_AZ8D3RDYpSkA8Me6s1Hi3DR5VrFOV7q0vEruG6dEa9wnjs7LPZ9S0a7H8k45r-uzynV2gVN_gZNLyYfDxC9w?key=N4RcKQrHpqe_tYkdKbHJhg" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd4YnRVYXBTPx2nEY-2jc3HDF2ocCahB5sH-vbI7ee5hsroti7oCyCnyFmsxpfkseyKv5apwPK6gT77d2sVqshmAQqbOztFbbc5PF4nKotTGMlu2Yu8ujCGtWxubtre0mVPPVN2UKOu38zm18uc_jg3Nfnc?key=N4RcKQrHpqe_tYkdKbHJhg" alt="" width="375"><figcaption></figcaption></figure>

By typing the name of the method in the event debug window, it will search all objects in your scene and find which event calls that method.  Note: it is case sensitive. &#x20;

Once the method is found (or not), a message is logged in the console. Clicking on this message will ping the corresponding object in the hierarchy. Additionally, you can click on the debug message to view the stack trace for more detailed information.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://obvious-game.gitbook.io/soap/soap-core-assets/scriptable-event/debugging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
