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

Emscripten usage issues #969

Open
illidanstormrange opened this issue Jan 16, 2025 · 0 comments
Open

Emscripten usage issues #969

illidanstormrange opened this issue Jan 16, 2025 · 0 comments

Comments

@illidanstormrange
Copy link

illidanstormrange commented Jan 16, 2025

I am using Emscripten to build C++ code for use on the web platform. How can I use Tracy profiler to trace my code?
When I add ZoneScoped directly to the C++ code, the constructor in the Profiler reports an error, The error message is fcntl cannot be used in Emscripten:

    RuntimeError: Aborted(segmentation fault)
    at abort (hello2d.js:754:41)
    at segfault (hello2d.js:316:3)
    at imports.<computed> (hello2d.js:6914:20)
    at hello2d.wasm (hello2d.wasm:0xf891b6)
    at fcntl (fcntl.c:19)
    at hello2d.wasm.tracy::Profiler::Profiler() (http://localhost:…asm-mt/hello2d.wasm)

Looking forward to your answer

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

1 participant