-
Notifications
You must be signed in to change notification settings - Fork 122
Home
loarabia edited this page Jan 23, 2012
·
11 revisions
Welcome to the Clang-tutorial wiki!
-
Debugging Clang: Clang's driver spawns a new copy of itself. So start debugging the main process, then in a new terminal call
gdb --wait clang
. Note also that even if you're debugging clang++, it calls back into clang so its stillgdb --wait clang
. (Note: I've had issues on OS X 10.7.2 getting this technique to work -- see the alternative below) - Alternative Clang Debugging Technique