Try this http://melabs.com/resources/debugmon.htm
It add lot of overhead code, but it can work. You wont get line numbers, but you can have PC address, and your subroutine will be called after each PBP line.
You can search net for additional information, but as far as I know .COFF file contains relation between PC and line no. But I didn't found how to parse .coff file.
Bookmarks