# 💥 CRASH: Photoshop crashes during UXP debugging

**URL:** <https://forums.creativeclouddeveloper.com/t/crash-photoshop-crashes-during-uxp-debugging/12266>\
**Category:** Photoshop\
**Tags:** uxp\
**Created:** [October 5, 2026, 12:56pm UTC](https://forums.creativeclouddeveloper.com/t/crash-photoshop-crashes-during-uxp-debugging/12266 "2026-10-05T12:56:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [October 5, 2026, 12:56pm UTC](https://forums.creativeclouddeveloper.com/t/crash-photoshop-crashes-during-uxp-debugging/12266/1 "2026-10-05T12:56:22Z")

</div>

When I run my live E2E tests sooner or later it will most likely crash/freeze Photoshop. Crash log usually looks same.

Crash log: [vscode-uxp-debugger/docs/crashes/photoshop/photoshop-e2e.xml at main · jardicc/vscode-uxp-debugger · GitHub](https://github.com/jardicc/vscode-uxp-debugger/blob/main/docs/crashes/photoshop/photoshop-e2e.xml)

I couldn’t reproduce the exact steps manually. Well sometimes crash happens when I debug manually but it is quite rare and I don’t have crashlog to compare.

Also, I could not point out any particular test doing this. When I run then in batches of 10, all tests passed. I also tried adding slight delays in various places to mitigate race conditions, but without any improvement. I think it is something C++ related but I cannot tell what exactly.

> <https://github.com/jardicc/vscode-uxp-debugger/issues/20>
>
> When I run live e2e tests using \`npm run test:e2e:live\` sooner or later it will …most likely crash/freeze Photoshop. Crash log usually looks same.
> 
> Crash log: https://github.com/jardicc/vscode-uxp-debugger/blob/main/docs/crashes/photoshop/photoshop-e2e.xml
> 
> I couldn't reproduce the exact steps manually. Well sometimes crash happens when I debug manually but it is quite rare and I don't have crashlog to compare.
> 
> Also, I could not point out any particular test doing this. When I run then in batches of 10, all tests passed. I also tried adding slight delays in various places to mitigate race conditions, but without any improvement. I think it is something C++ related but I cannot tell what exactly.

I already reported this to @indranil at Slack

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [November 11, 2026, 8:09pm UTC](https://forums.creativeclouddeveloper.com/t/crash-photoshop-crashes-during-uxp-debugging/12266/2 "2026-11-11T20:09:38Z")

</div>

This happened when I loaded plugin/script with “break on load” option and then loaded plugin/script was paused and js-debug sent code to evaluate which called “require()” and that require called NAPI and something in C++ in host app. Those evaluation messages were automatic by built-in js-debug in VSCode. And those have to find out more info about enviroment. So I do intercept them in proxy and I am sending back synthetic results from proxy so it does not reach host app at all. This way it prevented crashes I had in my E2E tests.

But probably you should try to check if that is something UDT could have problem as well @indranil
