Latest version of SQL Developer (22.214.171.124), database 10g (10.2.0.4).
1. I'm expanding the "Packages" node in the tree navigator
2. If there are no packages compiled with debug info (with green bug icon), then You should compile some with debug and restart SQL Developer and expand the "Packages" node again
3. I can check by the following SQL that at the moment there are some packages compiled with debug info:
OWNER, OBJECT_NAME, OBJECT_TYPE, DEBUGINFO, STATUS
OBJECT_TYPE IN ('PACKAGE', 'PACKAGE BODY') AND OWNER = :OWNER
OWNER, OBJECT_NAME, OBJECT_TYPE
4. Now I'm right-clicking the "Packages" node and selecting the "Compile All" function.
After that all the packages are compiled without debug info (SQL above confirms that) but all green bug icons are still visible in the navigator.
Refreshing node "Packages" or reconnecting DB doesn't help.
Only restarting SQL Developer helps - there are no more green bug icons in the "Packages"node.