debuging code generated with clang

Hello!
I'm trying to debug my project built with clang using gdb.
When I start debuging in IDE(NetBeans) I see only asm code but not C source.
I'm using next commandline when build:
clang -ggdb -O0 test.c -o test

Can some one point me to doc or something?

This should in general work. We’d need more simple reproduction steps to help you further: for example, using gdb directly.

Also, what OS, gdb version, etc.