Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index



On Sat, 2013-01-26 at 21:49 -0800, Joel Madero wrote:
static void lcl_SavePrintUIOptionsToDocumentPrintData

is what is saving print options and that it's being called regardless of 
if cancel or ok is being pushed (no good). So I'm trying to track down 
something that is only called when Cancel is pushed so that I can move 
the above function elsewhere. But unfortunately I can't use gdb for the 
above function -- no clue why but it never appears to work with breaks).

        IIWY I'd insert a break-point thus:

        break unotxdoc.cxx:12345

        where 12345 is the line-number of the lcl_ function that is most likely
inlined (as static 's tend to be) which usually confuses gdb nicely ;-)
[ when compiled with -g -O2 etc. ].

        HTH,

                Michael.

-- 
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.