Closed Andy-Zi closed 1 year ago
This sounds like you're missing a Webview2 installation. could you make sure webview2 is installed? or re-install from https://developer.microsoft.com/en-us/microsoft-edge/webview2/
As the documentation points out (https://tauri.app/v1/guides/getting-started/prerequisites/) it should have been installed by default and when trying to reinstall i get the following error saing it is already installed.
I can run Tauri apps just fine, if i don't start the debugger.
I'm experiencing the exact same issue and haven't found a workaround until now. I also have the webview installed and can run tauri apps normaly. I can even set a breakpoint in the main function which will be hit, but as soon as the builders run
function is called rust panics.
I still can't reproduce it on latest Windows 11 with latest webview2 runtime.
Alright im gonna reinstall the latest windows 11 when i get back home from work and will let you know if it works.
After a complete reinstall of windows i got it working
I'm experiencing this on Windows 10 and Windows 11. cargo tauri dev
and cargo tauri build
work fine, but debugging fails whether I follow the official instructions or just make a simple LLDB launch configuration pointing to an .exe
built with cargo tauri build --debug
.
My biggest hypothesis is that i broke something in edge while trying to debloat my windows installation. @spieglt Did you use any windows debloater software?
No. Edge works fine, and Tauri works fine, I just can't debug. It fails when the Builder's run
function is hit like @LLukas22 described. The fact that this is happening to several people in the past month makes me suspect something changed with Tauri but I'm not sure.
@spieglt After a windows 11 reinstall it worked as expected, maybe something is wrong with old windows images?
I doubt it, personally.
i hava the same error!
Describe the bug
On Windows, when following the steps outlined in the documentation for create-tauri-app (https://tauri.app/v1/guides/getting-started/setup/) and how to debug under Windows in vsCode (https://tauri.app/v1/guides/debugging/vs-code) it is not possible to debug the rust backend.
Reproduction
Expected behavior
The rust backend should not panic on a default project
Platform and versions
Stack trace
Additional context
The bug is not present on linux.