Skip to content

Debug config crashing #4398

Description

@milhauzindahauz

Description

I am trying to debug wails app. App is freshly initialized. When I put the breakpoint inside Greet function the app crashes.

To Reproduce

  1. wails init -n voice_key -t svelte -ide vscode
  2. cd frontend && npm install && npm run build && cd -
  3. code .
  4. run Wails: Debug launch options

Expected behaviour

App is not crashing. Breakpoint is triggered.

Screenshots

Image

Attempted Fixes

No response

System Details

# Wails
Version         | v2.10.1
Package Manager | dnf    


# System
WARNING: failed to read int from file: open /sys/devices/system/cpu/cpu0/online: no such file or directory
┌───────────────────────────────────────────────────────────────────────────────────┐
| OS           | Fedora Linux                                                       |
| Version      | 42                                                                 |
| ID           | fedora                                                             |
| Go Version   | go1.24.4                                                           |
| Platform     | linux                                                              |
| Architecture | amd64                                                              |
| CPU          | AMD Ryzen 7 PRO 7840HS w/ Radeon 780M Graphics                     |
| GPU          | Phoenix1 (Advanced Micro Devices, Inc. [AMD/ATI]) - Driver: amdgpu |
| Memory       | 64GB                                                               |
└───────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌────────────────────────────────────────────────────────┐
| Dependency | Package Name        | Status    | Version |
| *docker    | moby-engine         | Installed | 28.3.0  |
| gcc        | gcc-c++             | Installed | 15.0.1  |
| libgtk-3   | gtk3-devel          | Installed | 3.24.49 |
| libwebkit  | webkit2gtk4.0-devel | Installed | 2.47.2  |
| npm        | nodejs-npm          | Installed | 10.9.2  |
| pkg-config | pkgconf-pkg-config  | Installed | 2.3.0   |
| *upx       | upx                 | Installed | 5.0.1   |
|                                                        |
└─────────────── * - Optional Dependency ────────────────┘

Additional context

I am a little skeptical about wails doctor because it marked everythink as ok. But dependency was missing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingLinuxv2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions