jdmonin / JSettlers2

Java Settlers project home, downloads, and GPLv3 source code. To download the latest version as a JAR, see https://github.com/jdmonin/JSettlers2/releases/latest .
http://nand.net/jsettlers/
GNU General Public License v3.0
157 stars 63 forks source link

Debugging #48

Closed Saadmaghani closed 5 years ago

Saadmaghani commented 5 years ago

The D.ebugPrintln is empty. Is debugging working?

jdmonin commented 5 years ago

Hello,

D.ebugPrintln is turned on or off for each java class by the import at the top of the file.

For example if you wanted to see D.ebugPrintln output for soc.game.SOCPlayer, in SOCPlayer.java you would change the line

import soc.disableDebug.D;

to

import soc.debug.D;

Hope this helps :)