first, it requires your program is running, and then, in VS 2005 menu Tools, you can find an option called Attach To Process. After clicking that button, it will show you a list of all running processes.
just select the one you want to debug, and then it will attach to that process.
when the process running to somewhere that you want to debug, just clikc \"Break All\" in the toolsbar, it will show you the assembly list.
