Hi all,  Another strange one...

I'm trying to debug a template and I've currently got a couple instances of
it in the application.  Setting a breakpoint in the editor on a line in the
template appears to not include the instance.  The line in the Breakpoints
window says something like "Template.h, line 123".  I expected that ANY
instance of the template would break at that line.  This is what I get for
assuming :)  It appears to have chosen one instance and I can't figure out
how to tell it which one I want.

So, I backed up and set a breakpoint in the code outside of the template
method and stepped in.  The debugger window adds a little option menu button
in the left margin and allows me to select an instance.  I selected the
instance I wanted (the current one and it wasn't already selected) and
clicked on the line where I wanted the breakpoint and TADA...  The
breakpoint window now has something like "Template<Foo> Line 123".  Works
well enough...

Here's the pain...  I have to go throught all of this again when I restart
(usually due to the IDE crashing or failing to reconnect to POSE) because
when it reloads the breakpoint list...  The instance is set to another one
for the template breakpoint!!  It's not "remembering" template breakpoints
correctly.

Obscure eh?

-- Paul
Vitals:  CW6, Win98, P2-366; 128MB, POSE 3.0a4, 3.5 DR4 ROM
___________________________________________________________
Paul A. Dugas, Computer Engineer     Dugas Enterprises, LLC
mailto:[EMAIL PROTECTED]              1711 Indian Ridge Drive
tel:404-932-1355                   Woodstock, GA 30189-6856
fax:770-516-4841                     http://pauld.dugas.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to