kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #28771
Re: EDA_ITEM::Show()
Simon,
I don't use this very often but occasionally it's useful to be able to
dump the object state for debugging purposes. It's similar to the
bounding box drawing code. I don't want to get rid of it because you
never know when you're going to need it.
Cheers,
Wayne
On 3/17/2017 3:39 PM, Simon Richter wrote:
> Hi,
>
> I've looked at where EDA_ITEM::Show() is actually used:
>
> - NETLIST_OBJECT::Show() uses it from DumpNetList(), which is called if
> DEBUG_NETLIST is defined in addition to DEBUG, probably to debug the
> sorting during netlist generation.
>
> - PCB_BASE_FRAME and PCB_EDIT_FRAME also have references inside an "#if
> 0" block
>
> That's it.
>
> Would it make sense to just remove that code? I believe no one has used
> it in ages.
>
> Simon
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References