lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Pierre Chapuis wrote:
> I tried to add an assertion afterwards:
>   bit_set_1(_bset,_byte,_bit)
>   assert(bit_get(_bset,_byte,_bit) == 1)
> This assertion is never triggered, and *the code works*
> when it's here (ie. it gives the expected output).

Anything you change in the code can give a different behavior and
this in turn may hide the bug. But I really need a small, isolated
test case to debug this any further.