Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Breakpoints ignored in User-defined function

I'm having trouble debugging a udf. I inserted a breakpoint so that I can watch variables and step through the function. The breakpoint functions as expected if I hit "run Basic" from the LibreOffice Basic window but since it was not called by the spreadsheet, all parameters are empty. If I call the function from a spreadsheet, It returns values (not the ones I expected) but ignores the breakpoint. How can I debug a user-defined function?