Sorry, I just found the answer in this page. Once you define the breakpoint with
(idb) break <line_number>
You get a Breakpoint ID
, that you can see with the command info breakpoints
(idb) info breakpoints
<IDnumber> <Brakpoint_type> ..... <file and line>
to add a condition to a breakpoint you should use the command condition
:
(idb) condition <IDnumber> <condition>
for example
(idb) condition 1 ielem==30000
I think that this can be helpful for somebody.
See you!