Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging with LLDB - VSCode and Xcode #35

Open
0xsoria opened this issue May 29, 2023 · 1 comment
Open

Debugging with LLDB - VSCode and Xcode #35

0xsoria opened this issue May 29, 2023 · 1 comment

Comments

@0xsoria
Copy link

0xsoria commented May 29, 2023

Hello,
I'm trying to debug the project with lldb, but the project does not run properly when I run in debug mode. Is there anything I can do?

In VSCode and Xcode, first it shows this error

Screenshot 2023-05-29 at 09 24 12

And then keeps showing this one infinitely, and does not run the app.

image

In the end, on VSCode, I can just run the project without debugging, but on Xcode I can't do that easily. Is there anything I can do?
GDB is not an option since I'm on an M1 Mac.

@DeliriumInTheVoid
Copy link

Hi,
I faced similar issue on mac, after investigation I find out there can be different results for "base path" for wxwidgets on mac if run app from IDE for debug or just as executable from terminal or Finder. It can be easily checked with

std::cout << "cwd: " << wxGetCwd() << "\n";

So if this issue is still actual for someone there is small fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants