erlkonig/alienfx — pull request #1 by stefansaraev (2014-09-30 12:15:14+00:00)
Title: break on successful init

before:
m11x ~ # gdb --args ./alienfx -v color 0 0 0 0x961
...
[New Thread 0x7ffff7fde700 (LWP 22230)]
scanning for AlienFX type "m11x"...
found AlienFX type "m11x"...
scanning for AlienFX type "area51"...
scanning for AlienFX type "allpowerful"...
scanning for AlienFX type "aurora"...
libusb_open_device_with_vid_pid: Resource temporarily unavailable

Program received signal SIGSEGV, Segmentation fault.
0x0000003ea9607b3f in libusb_submit_transfer () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
(gdb) bt

after:
m11x ~ # ./alienfx -v color 0 0 0 0x961
scanning for AlienFX type "m11x"...
found AlienFX type "m11x"...