The GREEN debug line is when there are no links or references to the code, these are Virtual methods give this and it seems only when I get ready to RUN is when I see this.
Ah, dark/olive green, rather than lighter disabled break green. (also line, rather than icon)
As for the debugger not playing well with Generics, that little bit I can work around. I've found that when making changes to the generics (templates) a BUILD of the app is in order to get things going again.
Depends on many factors...
Line info goes wrong, but not too often (at least 3.2.3 and up).
Also, while we are GENERICS, I've noticed I cannot Type set a parameter in a ancestor class but I can type set the results (output) of that class.
not sure what you mean?
The CDocTemplate is a complete abstract class and with the inherited class, which is a Generics (Template) I set the types for the virtual override rides but I can only do that with the Result types, not the input parameters, for some reason It does not work but works if the method was created in the Generics class.
Maybe this has been fixed in the trunk.
You mean the "override" function has a diff return type (a more precise class). IIRC results only, but not sure.
You can of course pass types into the generic, and have the correct types there to begin with... Not sure if that works for your case.
Btw,
Any way to pass a constant as a TYPE to a generic Type info?
Yes.
Not sure from which version (may be 331)
generic Foo<const a: integer>
But you can always pass a record (advanced) or class => and they can have constants embedded.
And you can also use that to pass templates for records/objects. (though you may need 2 units for that)
LazListClasses is doing a lot of that