I am trying to place a conditional breakpoint for a string comparison using strcmp
. In the debug console, below command works
(char*)b->vec.buf.ptr.pointer,[b->vec.len]
However, when I want to use this in strcmp
using below command,
strcmp(((char*)b->vec.buf.ptr.pointer,[b->vec.len]), "test") == 0
I get Invalid format specifier.
. I think I am not able to use the ()
inside strcmp
.
How to achieve this?