String truncated in debug

In time of debug of following code:

#include <stdio.h>
#include <stdlib.h>

#include "bcrypt.h"

int main() {
    static char  hash[BCRYPT_HASHSPACE];

    if
(crypt_newhash("password", "blowfish,4", hash, sizeof(hash)) != 0)
        return -1;
    
printf("%s", hash);
    return 0;
}


in Variables window:


but i see only 50 characters

full length value printed at console

$2b$04$m3cgTTM86dx3cUrQD/Nn2eQEPf2MmiTbukzdW5S1rIkfgSVpLDQV2


why in Variables window value is truncated?

1 comment
Comment actions Permalink

Hi Oleg.

The simplest example correctly works for us.
Could you please send your project to clion-support at @jetbrains.com?
Or please try to isolate a problem and provide us a sample project.

0

Please sign in to leave a comment.