SOLUTION: see my posting in another thread:
http://www.qtcentre.org/threads/2838...hile-debugging

This is a linux solution but should work for OSX environment (using gdb?) as well?