https://bugs.documentfoundation.org/show_bug.cgi?id=95991

            Bug ID: 95991
           Summary: LibreOffice crashes when watching and inspecting a
                    complex Calc structure in BASIC debug session
           Product: LibreOffice
           Version: 5.0.1.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 120724
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120724&action=edit
Extremely simplified Calc file for reproducing the crash

(Most simple case)

The only module in the Standard container for BASIC code of a Calc document is
containing only the Sub TestWatch() with the followig code:

Sub TestWatch()
oCell = ThisComponent.Sheets(0).GetCellByPosition(0,0)
MsgBox oCell.Value
End Sub

1. Open BASIC editor
2. Stepwise execute the Sub --> Works as expected
3. Add oCell to the Watch list (as the only element) 
4. Stepwise execute the Sub without touching the watched structure --> Works
5. Step into Sub till oCell is assigned but do not finish execution
6. Try to expand oCell in the Watch window --> Complete crash.

The crash also happens if another complex structure should be inspected,
independent of whether debugging a Sub or a Function, 
independent of whether code is contained in the document or local,
independent of how many variables are watched
...

Just tested with V5.0.3 but already present in V5.0.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to