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

Can't find the way to see EASY_VALUE and EASY_EVENT #182

Closed
andreyryabov opened this issue Jun 6, 2020 · 4 comments
Closed

Can't find the way to see EASY_VALUE and EASY_EVENT #182

andreyryabov opened this issue Jun 6, 2020 · 4 comments
Assignees
Labels

Comments

@andreyryabov
Copy link

Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin19.4.0
Thread model: posix

#include <string>
#include <easy/profiler.h>
#include <easy/arbitrary_value.h>

void test() {
    EASY_FUNCTION();
    EASY_VALUE("v1", 111);
    EASY_EVENT("e1", 222);
}

int main() {
    EASY_PROFILER_ENABLE;

    test();

    profiler::dumpBlocksToFile("test_profile_values.prof");
}

Where do I see the actual values for 'v1' and 'e2' ?

bdb873100bfd47d86b84f68dbafe92a2

@yse
Copy link
Owner

yse commented Jun 6, 2020

Hello! I think this is MacOS specific bug. We've tested a very little on the MacOS. I'll try to fix it, thanks for feedback.
So - arbitrary values can be found in caption. Example on my linux:
image

@yse yse added the bug label Jun 6, 2020
@yse yse self-assigned this Jun 6, 2020
@andreyryabov
Copy link
Author

No caption fo Arbitrary Value on macOS.
Screen Shot 2020-06-06 at 1 31 03 PM

Caption without value of Event.
Screen Shot 2020-06-06 at 1 31 23 PM

yse added a commit that referenced this issue Jun 6, 2020
@yse
Copy link
Owner

yse commented Jun 6, 2020

So I've made quick fix for MacOS. There is different behaviour of widgets with Qt::SubWindow flag on MacOS. I think by the same reason there is bug with absent Blocks dialog (from toolbar). I'll try to fix it also! But I need to gather some information about gui system on mac. Thanks for testing and feedback!

@andreyryabov
Copy link
Author

Really appreciate the quick fix, helped a lot in my work.

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

No branches or pull requests

2 participants