Breakpoints not working in Delphi 6 DirectShow source filter
Posted
by Robert Oschler
on Stack Overflow
See other posts from Stack Overflow
or by Robert Oschler
Published on 2010-03-18T12:32:01Z
Indexed on
2010/03/18
15:11 UTC
Read the original article
Hit count: 720
I'm trying to debug my DirectShow source filter. I'm using Delphi Pro 6 on Windows XP along with the DSPACK component library. I'm using Skype as my host application, which I set in the Parameters option in the Run menu, for testing my source filter DLL (ax file extension). Skype runs fine and I see a stream of my OutputDebugString messages in the Event Viewer, but none of my breakpoints are ever hit. In my Project Settings I have optimizations off, stack frames on, debug DCUs on, Range Checking on, and Overflow checking on. Each time I modify my code and run a test I:
- Do a full build
- Unregister the DirectShow filter (regsvr32 /u)
- Register the DirectShow filter (regsvr32)
- Run Skype as my Host application from the IDE
When an Exception occurs, the IDE does trap it and pops up an error dialog box with the option to view the assembler code in the CPU window. However none of my breakpoints are being hit. Can anyone tell me how to get breakpoints working?
Thanks.
© Stack Overflow or respective owner