UserSubWindow - debugging with gdb

Hello

Can anyone offer any advice on how to debug a plugin. Using gdb I can attach to the Mantid process and place a breakpoint in my plugin function but when the breakpoint is hit I cannot vew any source code or inspect any variables.

Regards

Derek

Ok slightly embarrasing.

I was trying to debug a Release build.

For anyone interested. Run cmake klike this:-
cmake -DCMAKE_BUILD_TYPE=Debug