https://bugs.documentfoundation.org/show_bug.cgi?id=123144
Bug ID: 123144
Summary: Unfriendly Error Message in VBASupport 1
Product: LibreOffice
Version: 6.3.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Description:
see steps to reproduce
Steps to Reproduce:
1. Open the attached ods file
2. Run the Main1() in Module1
3. Run the Main2() in Module2
Actual Results:
Error Message on step 2 is:
-----
BASIC runtime error.
Variable not defined.
----
Error Message on step 3 is:
-----
BASIC runtime error.
'12'
a
-----
Expected Results:
Error Message on step 3 should be:
-----
BASIC runtime error.
Variable not defined.
----
Reproducible: Always
User Profile Reset: No
Additional Info:
Advantage:
It's easier for StarBasic programmer to find out what the error is.
Drawback:
Programmer may not find out the name of variable that causes the error so
easily.
Source Code Pointer:
https://opengrok.libreoffice.org/xref/core/basic/source/runtime/runtime.cxx?r=70519a43#3314
https://opengrok.libreoffice.org/xref/core/basic/source/runtime/runtime.cxx?r=70519a43#3450
rMsg.isEmpty() is false in the following code
https://opengrok.libreoffice.org/xref/core/basic/source/runtime/runtime.cxx?r=70519a43#940
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs