MAeStRO Posted August 20, 2015 Report Posted August 20, 2015 Hi, I'd like to know if it's possible to use an IDE such as eclipse to debug the running atavism server. If so, how is it done on a Windows 7 system? Thanks.
sooms Posted August 20, 2015 Report Posted August 20, 2015 Sadly it isn't currently possible as the server is executed via shell/bat scripts, not a java executable, and it is run as many different processes rather than one single entity making it much harder to run in debug mode via an IDE. Currently I just use a lot of log messages and run the: grep "String to search for" *.out command to see what is happening in the code.
MAeStRO Posted September 25, 2015 Author Report Posted September 25, 2015 I've been looking a bit into the matter, and I've read that it is possible to remotely debug java processes even if you didn't start them, like link up to them after they are already running, but only if the process is started with debug args in the command. Any chance for an option of the sort? Will it work?
sooms Posted September 27, 2015 Report Posted September 27, 2015 I'll have to look into this and get back to you. If you know a bit about this stuff you can edit the world.sh to add the args yourself and see how that goes.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now