Cognizant interview question

how do you load and debug pdbs, how GC works for cleaning heap/stack..