| 1 | == Debugging tips == |
| 2 | === Use "detail formatters" === |
| 3 | Make it easier to identify which way/node/etc. a object corresponds to |
| 4 | |
| 5 | [[Image(add-detail-formatter.png)]] |
| 6 | |
| 7 | [[Image(edit-detail-formatter.png)]] |
| 8 | |
| 9 | [[Image(result-detail-formatter.png)]] |
| 10 | |
| 11 | |
| 12 | === Testing changes without restarting JOSM === |
| 13 | Just in case I'm not the only eclipse noo :) |
| 14 | |
| 15 | Eclipse support "live code editing" while debugging, meaning that you can make changes to the code, and they will be compiled and "inserted" into the application being debugged. Somewhat surprisingly ([http://josm.openstreetmap.de/ticket/6396 too me at least]) this works more or less for plugins too. At least if the plugin and JOSM project are open in the same eclipse workspace, and the plugin has JOSM as a required project. |