<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
reported:<br>
<a class="moz-txt-link-freetext" href="http://bugs.freepascal.org/view.php?id=20196">http://bugs.freepascal.org/view.php?id=20196</a><br>
<br>
On 08/09/2011 16:39, Martin wrote:
<blockquote cite="mid:4E68E1BA.2010103@mfriebe.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
No need for recompilng with the extra symbols, that I specified.<br>
<br>
It isn;'t the debugger. <br>
<br>
See my other mail.<br>
<br>
Any hint in gtk2, that consists of a single very long line (that
needs to be wrapped) has the same slowness<br>
<br>
using html hints fixes that, but crashes elsewhere<br>
<br>
<br>
<br>
<br>
On 08/09/2011 16:10, Graeme Geldenhuys wrote:
<blockquote
cite="mid:CALVqcdj+Qgw-UF8EmWuBcBJQWjOOTyRXVWkaeWNdUQ_6zp9awg@mail.gmail.com"
type="cite">
<pre wrap="">On 8 September 2011 16:42, Martin wrote:
</pre>
<blockquote type="cite">
<pre wrap="">What exactly do you mean "stay active" ?
</pre>
</blockquote>
<pre wrap="">See attached archive. There are three files. The two text files show
the output captured from the Debug Output window.
test1.txt
- Show value hint while debugging is unchecked
- Automatic typecast for objects in unchecked
test2.txt
- Show value hint while debugging is checked
- Automatic typecast for objects in checked
The Report.html file shows the difference between them. Hardly any
difference - not what I would have expected.</pre>
</blockquote>
<br>
In the first you evaluate Sender and Listbox1<br>
<br>
In the 2nd you only evaluate Listbox1<br>
<br>
only the 2nd has<br>
<blockquote type="cite">
<table class="fc" cellpadding="0" cellspacing="0">
<tbody>
<tr class="SectionBegin">
<td class="TextItemSigRightMod"><span
class="TextSegSigDiff"><-data-evaluate-expression</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">(^^^char(ListBox1)^+3)^></span></td>
</tr>
<tr class="SectionMiddle">
<td class="TextItemSame"> </td>
<td class="AlignCenter"> </td>
<td class="TextItemSigRightMod"><span
class="TextSegSigDiff">^done,value="0x9e3a98</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">#8'TListBoxfff'#144'ff'#144#160#5"</span></td>
</tr>
<tr class="SectionMiddle">
<td class="TextItemSame"> </td>
<td class="AlignCenter"> </td>
<td class="TextItemSigRightMod"><span
class="TextSegSigDiff">(gdb)</span><span
class="TextSegInsigDiff"> </span></td>
</tr>
<tr class="SectionMiddle">
<td class="TextItemSame"> </td>
<td class="AlignCenter"> </td>
<td class="TextItemSigRightMod"><span
class="TextSegSigDiff"><ptype</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">TListBox></span></td>
</tr>
<tr class="SectionMiddle">
<td class="TextItemSame"> </td>
<td class="AlignCenter"> </td>
<td class="TextItemSigRightMod"><span
class="TextSegSigDiff">&"ptype</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">TListBox\n"</span></td>
</tr>
<tr class="SectionMiddle">
<td class="TextItemSame"> </td>
<td class="AlignCenter"> </td>
<td class="TextItemSigRightMod"><span
class="TextSegSigDiff">~"type</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">=</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">^TLISTBOX</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">=</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">class</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">:</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">public</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">TCUSTOMLISTBOX</span><span
class="TextSegInsigDiff"> </span><span
class="TextSegSigDiff">\n"</span></td>
</tr>
<tr class="SectionMiddle">
<td class="TextItemSame"> </td>
<td class="AlignCenter"> </td>
<td class="TextItemSigRightMod"><span
class="TextSegSigDiff">~"end\n"</span></td>
</tr>
<tr class="SectionMiddle">
<td class="TextItemSame"> </td>
<td class="AlignCenter"> </td>
<td class="TextItemSigRightMod"><span
class="TextSegSigDiff">^done</span></td>
</tr>
<tr class="SectionEnd">
<td class="TextItemSame"> </td>
<td class="AlignCenter"> </td>
<td class="TextItemSigRightMod"><span
class="TextSegSigDiff">(gdb)</span></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
The check if listbox1 needs typecasting => it doesn't need, it
is already declared the same as it actually is.<br>
<br>
So yes the files have little difference. Had you done Sender
again, there might have been a diff.<br>
<br>
<br>
<br>
<blockquote
cite="mid:CALVqcdj+Qgw-UF8EmWuBcBJQWjOOTyRXVWkaeWNdUQ_6zp9awg@mail.gmail.com"
type="cite">
<pre wrap="">
Also if "show value hint while debugging" is unchecked, shouldn't hint
debugging be totally disabled?
</pre>
</blockquote>
<br>
you are right, there seems some problem there.... it should<br>
<br>
<br>
<br>
<blockquote
cite="mid:CALVqcdj+Qgw-UF8EmWuBcBJQWjOOTyRXVWkaeWNdUQ_6zp9awg@mail.gmail.com"
type="cite">
<blockquote type="cite">
<pre wrap="">- Are the commands still send, if you disable the option?
</pre>
</blockquote>
<pre wrap="">Yes</pre>
</blockquote>
No, but in your example it is hard to see<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>