<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - IDE cannot get the content of structs in the watch window"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129360#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - IDE cannot get the content of structs in the watch window"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129360">bug 129360</a>
from <span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span></b>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=157079" name="attach_157079" title="Macro to access a shape in Draw">attachment 157079</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=157079&action=edit" title="Macro to access a shape in Draw">[details]</a></span>
Macro to access a shape in Draw
I have tested current daily Version: 6.5.0.0.alpha0+ (x64)
Build ID: ce685f64f38551e7984155783c9c7660d986abf6
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: GL; VCL: win;
Locale: en-US (en_US); UI-Language: en-US
Calc: CL
The problem is not solved.
Start Draw and insert a shape. Open Basic IDE (Tools > Macro > Edit Macro). Use
a new module. Delete all content of the module. The basic IDE has an icon
"Import Basic"; import the attached macros. Set a breakpoint in line "dummy=1"
in sub "examineShape_inDraw".
Go back to document, but keep IDE open.
Select the shape, then press Alt+F11. Chose the macro "examineShape_inDraw" and
run it.
Go back to IDE. Set cursor in "oShape" and press F7 to add the variable to the
watch window.
The watch window shows a tree with several + branches. Try them out. Some work,
some not. For example not working are: Style,
CustomShapeGeometry->CustomShapeGeometry(0), LineEnd, Size, Position.
Do the same in a version about 6 weeks ago, to see how it should work, e.g. in
Version: 6.5.0.0.alpha0+ (x64)
Build ID: 790b5de8941d8f8d98c73ed1343289d7220211ad
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: default; VCL: win;
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
This is a severe regression and makes debugging a pain.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>