Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Vincent Snijders
Fabio Dell'Aria schreef: Hi to all, I'm writing a patch to can use an external .dbg file during the debugging process. All works fine but when an unhandled exception is raised the RTL show stacktrace without debug info (no sources line). How I can instruct the RTL to search the debug symbols

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Peter Vreman
Fabio Dell'Aria schreef: Hi to all, I'm writing a patch to can use an external .dbg file during the debugging process. All works fine but when an unhandled exception is raised the RTL show stacktrace without debug info (no sources line). How I can instruct the RTL to search the debug

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Vincent Snijders [EMAIL PROTECTED]: Fabio Dell'Aria schreef: Hi to all, I'm writing a patch to can use an external .dbg file during the debugging process. All works fine but when an unhandled exception is raised the RTL show stacktrace without debug info (no sources

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Michael Van Canneyt [EMAIL PROTECTED]: On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: Hi to all, I'm writing a patch to can use an external .dbg file during the debugging process. All works fine but when an unhandled exception is raised the RTL show stacktrace

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Tomas Hajny
On Thu, January 17, 2008 10:45, Vincent Snijders wrote: Bogusław Brandys schreef: I think it should by default look for program.dbg file , and then if not exists for paramstr(0). Is that enough ? If so,please explain how to check if file exists , which function could be used here. No, as

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Vincent Snijders
Bogusław Brandys schreef: I think it should by default look for program.dbg file , and then if not exists for paramstr(0). Is that enough ? If so,please explain how to check if file exists , which function could be used here. No, as Peter described, you should look in the executable for a

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Peter Vreman
I think it should by default look for program.dbg file , and then if not exists for paramstr(0). Is that enough ? If so,please explain how to check if file exists , which function could be used here. No, as Peter described, you should look in the executable for a link to the file with debug

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Bogusław Brandys
Vincent Snijders wrote: Bogusław Brandys schreef: I think it should by default look for program.dbg file , and then if not exists for paramstr(0). Is that enough ? If so,please explain how to check if file exists , which function could be used here. No, as Peter described, you should look

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Fabio Dell'Aria
Hi, 2008/1/17, Peter Vreman [EMAIL PROTECTED]: I think it should by default look for program.dbg file , and then if not exists for paramstr(0). Is that enough ? If so,please explain how to check if file exists , which function could be used here. No, as Peter described, you should look

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Tomas Hajny
On Thu, January 17, 2008 10:59, Peter Vreman wrote: I think it should by default look for program.dbg file , and then if not exists for paramstr(0). Is that enough ? If so,please explain how to check if file exists , which function could be used here. No, as Peter described, you should look