VerySleepy

Discussion of chess software programming and technical issues.

Moderator: Ras

Carbec
Posts: 162
Joined: Thu Jan 20, 2022 9:42 am
Location: France
Full name: Philippe Chevalier

VerySleepy

Post by Carbec »

Hello,

I try to profile my engine. So I installed VerySleepy. I am under windows 10, and use QtCreator to edit/compile the code.
My compilation options are :
QMAKE_CXXFLAGS_RELEASE += -O0 -g -std=c++20 -fno-omit-frame-pointer -gdwarf-2
Then I start verySleepy, and launch Zangdar.exe. When the engine stops, all I have is a window full of adresses,
but not a single function name.
What did I wrong ?

Thanks in advance

Philippe
User avatar
flok
Posts: 559
Joined: Tue Jul 03, 2018 10:19 am
Full name: Folkert van Heusden

Re: VerySleepy

Post by flok »

Carbec wrote: Thu Nov 03, 2022 6:38 pm Hello,

I try to profile my engine. So I installed VerySleepy. I am under windows 10, and use QtCreator to edit/compile the code.
My compilation options are :
QMAKE_CXXFLAGS_RELEASE += -O0 -g -std=c++20 -fno-omit-frame-pointer -gdwarf-2
Then I start verySleepy, and launch Zangdar.exe. When the engine stops, all I have is a window full of adresses,
but not a single function name.
What did I wrong ?

Thanks in advance

Philippe
Try also to link with -g
Carbec
Posts: 162
Joined: Thu Jan 20, 2022 9:42 am
Location: France
Full name: Philippe Chevalier

Re: VerySleepy

Post by Carbec »

Hello,

I found it ! The new version (I had an old version) have one more build Profile. This build add some options to compile, and then VerySleepy see the code source. I hope this may help someone with the same problem.