I try to get in touch with geoserver source code. I set it up in Eclipse like stated here (http://docs.geoserver.org/latest/en/developer/quickstart/index.html) and it's running.

Then I call a getCapabilities request with this URL:

I try to understand now what's happening step by step in the code when calling this request. How would I do that?

I tried it with the eclipse debugger but it only shows what happens when calling the start.java class and not what actually happens on the running server.

The problem is that until now I only worked on code which I developed from scratch like in university lectures or some hobby stuff but never on a finished program source code.

1 Answer 1


Put a breakpoint in the Dispatcher, one in DefaultWebMapService, and go from there: https://github.com/geoserver/geoserver/blob/master/src/ows/src/main/java/org/geoserver/ows/Dispatcher.java#L235



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.