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

No connection via network possible #209

Open
hmars-t opened this issue Jul 23, 2023 · 0 comments
Open

No connection via network possible #209

hmars-t opened this issue Jul 23, 2023 · 0 comments

Comments

@hmars-t
Copy link

hmars-t commented Jul 23, 2023

When I use the profiler::startListen option and start the program, I always get the error message "Cannot connect to localhost" in the GUI. The profiler::dumpBlocksToFile method, on the other hand, works. Can anyone tell me what the problem is? I'm running Mac OS Ventura 13.4.1 and my code looks something like this.

int main(int argc, char *argv[]) {
    EASY_PROFILER_ENABLE;
    profiler::startListen();

    // work to profile
    EASY_BLOCK("SIMULATION")
    simulation.run();
    EASY_END_BLOCK;

    profiler::dumpBlocksToFile("test_profile.prof");
    profiler::stopListen();
    }

This is the output when I load the file manually. What irritates me a bit is that the listen thread seems to be started, but no time has passed. If anyone has any hints on how to solve this, I'd appreciate it.

Bildschirmfoto 2023-07-23 um 16 03 32

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