You must ensure that your application is built with debugging information.
Debugging information must be enabled for debug builds (the default) and for release builds (disabled by default).
You should modify your project settings so that debugging information is created in the TDS format.
TDS debugging data can be stored in the DLL/EXE being built or in a separate TDS file.