Re: [Firebird-devel] Debugging generated epp->cpp files

2016-02-24 Thread Alex Peshkoff
On 02/24/2016 12:13 AM, Vlad Khorsun wrote: > PS If you need it so much, i offer to apply patch but disable #line > generation for release build in public > source tree. Or keep this: -case IN_SW_GPRE_N: -sw_lines = false; -break; And have different sw_lines for

Re: [Firebird-devel] Debugging generated epp->cpp files

2016-02-23 Thread Vlad Khorsun
23.02.2016 21:47, Adriano dos Santos Fernandes wrote: > Hi! > > Debug cpp files generated from epp ones are a nightmare. > > The debugger goes/shows cpp line numbers where you want to see epp lines. > > Gpre has some support for #line directive but was not working properly. > > Attached I put a pat

[Firebird-devel] Debugging generated epp->cpp files

2016-02-23 Thread Adriano dos Santos Fernandes
Hi! Debug cpp files generated from epp ones are a nightmare. The debugger goes/shows cpp line numbers where you want to see epp lines. Gpre has some support for #line directive but was not working properly. Attached I put a patch to fix it. It's rudimentary, it overloads std C functions (*put*,