casterle
September 8th, 2004, 11:35
I am using OllyDbg to debug a Borland BCB6 program I am working on. In another thread I mentioned that I can't get Olly to find any of my source files, and even with the generous help of others here have still not been able to solve this issue.
Today I discovered the "Log data" window (I've still got a lot to learn about Olly!), and perhaps the cause of my source code problem. In that window I find an error message:
> New process with ID 00000994 created
> 00402DF4 Main thread with ID 00000C40 created
> 00400000 Module PwrMon.exe
> Debugging information (Borland format) available
> Line 2: Syntax error in ' "" PTR'
PwrMon.exe is my program. I see that Olly correctly finds that I have built the project with debug info and identifies the format correctly. Then it reports a syntax error in line 2, but doesn't indicate which file contains the error.
Since the error message refers to a line number, it must be having a problem with a text file, no? But I've searched my .map file and find nothing of the form indicated in the error message. Then I used FileLocator Pro to grep through every file in my project (even binary files) and find no matches to the offending string.
Can someone tell me how Olly goes about locating debug info? Is it read from the .map file? Is it read from the .tds file?
Most importantly, how can I fix this problem?
Thanks,
Leroy
Today I discovered the "Log data" window (I've still got a lot to learn about Olly!), and perhaps the cause of my source code problem. In that window I find an error message:
> New process with ID 00000994 created
> 00402DF4 Main thread with ID 00000C40 created
> 00400000 Module PwrMon.exe
> Debugging information (Borland format) available
> Line 2: Syntax error in ' "" PTR'
PwrMon.exe is my program. I see that Olly correctly finds that I have built the project with debug info and identifies the format correctly. Then it reports a syntax error in line 2, but doesn't indicate which file contains the error.
Since the error message refers to a line number, it must be having a problem with a text file, no? But I've searched my .map file and find nothing of the form indicated in the error message. Then I used FileLocator Pro to grep through every file in my project (even binary files) and find no matches to the offending string.
Can someone tell me how Olly goes about locating debug info? Is it read from the .map file? Is it read from the .tds file?
Most importantly, how can I fix this problem?
Thanks,
Leroy