However, I don't think this works if you're trying to debug code in a library function. Does anyone know how best to debug library code. My only idea is to copy the library code into the calling file and debug it there.