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


Hi Kohei,
As you seem to be the expert on formulacell.cxx and the (Back)Solver()
code, I hope you can shed some light on this problem.

I'm afraid I cannot.

To be brutally honest, I wouldn't debug this without first moving this code
out of ScInterpreter and into a place like ScDocument::Solver() without those
pesky temporary formula cell and temporary formula expression creation
steps.  That's basically the strategy I first advised.  The current code is mixing
recursion and iteration together, which is a recipe for trouble.  There is no
way you can debug this and stay sane.  I would go nuts if I were forced to
debug this code in its current form.

So, I would still stick with my original advice, and recommend we move this
code out of the interpreter.

Thanks for your advise.
I don't want to lose more sanity than I already have lost, so I'll start by moving code.

Winfried



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.