Re: [Libreoffice] [MHST] GDB doesn't show name of methods in backtrace

2011-08-08 Thread Jan Holesovsky
Hi Ta Tung, Ta Duc Tung píše v St 03. 08. 2011 v 15:16 +0700: I attach the patch for sw. It's used to add a radio button to print dialog in Writer. Please apply and see the bug. In this patch, I add a new radio button named Current page to print dialog. Instead of this approach, I've just

Re: [Libreoffice] [MHST] GDB doesn't show name of methods in backtrace

2011-08-03 Thread Ta Duc Tung
On 08/02/2011 05:06 PM, Ta Duc Tung wrote: On 08/01/2011 06:55 PM, Michael Meeks wrote: Hi there, On Thu, 2011-07-28 at 01:09 +0700, Ta Duc Tung wrote: I've tried to make with debug=t but no change. GDB log still the same :( Any one please help! You need to 'make clean' in sw and then

Re: [Libreoffice] [MHST] GDB doesn't show name of methods in backtrace

2011-08-02 Thread Ta Duc Tung
On 08/01/2011 06:55 PM, Michael Meeks wrote: Hi there, On Thu, 2011-07-28 at 01:09 +0700, Ta Duc Tung wrote: I've tried to make with debug=t but no change. GDB log still the same :( Any one please help! You need to 'make clean' in sw and then 'make debug=true' - and -then- you need to

Re: [Libreoffice] [MHST] GDB doesn't show name of methods in backtrace

2011-08-02 Thread Caolán McNamara
On Tue, 2011-08-02 at 17:06 +0700, Ta Duc Tung wrote: Please, how to fix this fault. I think I miss something in adding new radiobutton, but I don't know where it is. Attach a patch of your changes which crash for you and someone might apply it to their local tree and have a look. FWIW, on

Re: [Libreoffice] [MHST] GDB doesn't show name of methods in backtrace

2011-08-01 Thread Michael Meeks
Hi there, On Thu, 2011-07-28 at 01:09 +0700, Ta Duc Tung wrote: I've tried to make with debug=t but no change. GDB log still the same :( Any one please help! You need to 'make clean' in sw and then 'make debug=true' - and -then- you need to ensure that your install is linked to the

Re: [Libreoffice] [MHST] GDB doesn't show name of methods in backtrace

2011-08-01 Thread Korrawit Pruegsanusak
Hello all, On Mon, Aug 1, 2011 at 21:45, Ta Duc Tung tatung2...@gmail.com wrote: Thanks for your reply, Michael :-) Sorry if this is a dump question but, how to ensure that my install is linked to the dev tree with solenv/bin/linkoo ? Not Michael ;) but IMHO you should run $ solenv/bin/linkoo

Re: [Libreoffice] [MHST] GDB doesn't show name of methods in backtrace

2011-07-27 Thread Ta Duc Tung
On 07/22/2011 06:51 PM, Andor E wrote: Hi, did you build module sw with debug=t? Otherwise you won't get any method names and line numbers. Greetings eymux On Fri, Jul 22, 2011 at 12:57 PM, Ta Duc Tungtatung2...@gmail.com wrote: Hi, I've tried to add a radio button into print dialog for

Re: [Libreoffice] [MHST] GDB doesn't show name of methods in backtrace

2011-07-27 Thread Ta Duc Tung
On 07/22/2011 06:51 PM, Andor E wrote: Hi, did you build module sw with debug=t? Otherwise you won't get any method names and line numbers. Greetings eymux On Fri, Jul 22, 2011 at 12:57 PM, Ta Duc Tungtatung2...@gmail.com wrote: Hi, I've tried to add a radio button into print dialog for

Re: [Libreoffice] [MHST] GDB doesn't show name of methods in backtrace

2011-07-23 Thread Ta Duc Tung
On 07/22/2011 06:51 PM, Andor E wrote: Hi, did you build module sw with debug=t? Otherwise you won't get any method names and line numbers. Greetings eymux On Fri, Jul 22, 2011 at 12:57 PM, Ta Duc Tungtatung2...@gmail.com wrote: Hi, I've tried to add a radio button into print dialog for

Re: [Libreoffice] [MHST] GDB doesn't show name of methods in backtrace

2011-07-23 Thread Korrawit Pruegsanusak
Hello Ta Duc Tung, On Sat, Jul 23, 2011 at 16:22, Ta Duc Tung tatung2...@gmail.com wrote: On 07/22/2011 06:51 PM, Andor E wrote: On Fri, Jul 22, 2011 at 12:57 PM, Ta Duc Tungtatung2...@gmail.com I put breakpoint in SwXTextDocument::getRendererCount() (#5 in gdb log from pastebin link

[Libreoffice] [MHST] GDB doesn't show name of methods in backtrace

2011-07-22 Thread Ta Duc Tung
Hi, I've tried to add a radio button into print dialog for Writer. In /sw/source/core/view/printdata.cxx, I have this piece of code (around line 310) http://pastebin.com/gMu70wYm ~~~ aChoices[3] =