<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi All!</p>
<p>I have been having a problem for a long, long time when
developing/debugging code which is included in a <b>package</b>
and which contains <b>generics</b>.</p>
<p>It took me years <span class="moz-smiley-s15"><span>:'(</span></span>,
but I finally figured out what I was doing so that I could cause
the issue to appear consistently. <span class="moz-smiley-s6"><span>:-[</span></span><br>
</p>
<p>My usual debugging process is:</p>
<ol>
<li>Edit the library code</li>
<li>Compile/Run</li>
<li>Debug.</li>
</ol>
<p>My current insight is: <br>
</p>
<p>What would happen was that changes made to the library code would
compile, but not be included in the code which specializes the
generic item. When I entered the debugger, I could see the newly
changed code, but single-stepping <b>ignored</b> my changes. If
I let the program run without debugging, the resulting behavior
was the <b>same as it was before the edit</b>.</p>
<p>I have a work around for this (when I remember to use it):</p>
<ol>
<li>Edit the library code</li>
<li>Compile the package</li>
<li>Use <b>Run | </b><b>Cleanup and build ...</b></li>
<li>Debug</li>
</ol>
<p>TL;DR Library packages which declare generics do compile, but
do not get included in the code that specializes them unless I
"Cleanup and build" the whole program. (Workable, but much <b>slower</b>
than programs without generics).</p>
<p>I searched the bug tracker, but did not see anything resembling
this problem. I would submit a bug report but I'm not sure
whether this is an IDE problem, a package problem or a
compiler/linker problem. Would someone more familiar with this
part of the architecture give me pointers?</p>
<p>Thanks,<br>
</p>
<p>Don Ziesig</p>
<p><br>
</p>
</body>
</html>