Modify ↓
Opened 18 years ago
Closed 18 years ago
#115 closed enhancement (wontfix)
Make some debug infrastucture
Reported by: | Owned by: | imi | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
Right now, for debugging info, I use System.out to dump debug information to the process output. However, this requires the user to start JOSM from the command line.
It could be useful to get some infrastructure to send debug messages to a JOSM window, enabled or disabled by the user. In this window, it would appear all debug messages, probably separated in tabs, one per plugin.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
I don't like log-statement pollution thoughout the code, so JOSM has no log4j or similar fancy logging system enabled.
If you find this inappropiate, you can e.g. add a menu entry to the help menu showing a JTextArea with your log statements. Should be only very little overhead to setup this. (If every plugin does this with it's name included in the menu entry, you get the "different tabs" for free as different menu entries ;-)