test_gdb: add test case testPickupCatchThrowOnlyOnce
test_gdb: port to new IDebugSession interface

This fixes the testStackFetchMore test.
Do not include unistd.h
app: More debug output for startup time measurement