![]() |
How to Debug? - Printable Version +- Ludii Forum (https://ludii.games/forums) +-- Forum: Problems (https://ludii.games/forums/forumdisplay.php?fid=5) +--- Forum: Grammar Problems (https://ludii.games/forums/forumdisplay.php?fid=24) +--- Thread: How to Debug? (/showthread.php?tid=227) |
How to Debug? - slimy_asparagus - 10-31-2020 First off apologies. I thought there were only 5 forums. I have just finally managed to scroll down and discover a whole load more. I would like to be able to display the level. So I tried this: Code: (define "Debug" I also could not find a way to convert an integer to a string, which I think could have helped. EDIT: Well I guess the Move log sort of tells me what I want. It seems to list the source level. What would be nice is if it listed the target level. RE: How to Debug? - Eric Piette - 11-02-2020 Hi, Yes Note is done only to send message (in String) to players, not with IntFunction or something else for the moment. I can add that too in a future release, I keep that in mind. But yes you can find all the information about the level in the moves tab. (If the level is 0, that's the ground, so not printed in general). You have different formats to print the moves, you can modify that in The preferences (just click on the name of a player) --> Advanced --> Move Format. Regards, Eric RE: How to Debug? - slimy_asparagus - 11-02-2020 (11-02-2020, 08:20 AM)Eric Piette Wrote: Hi, I did find that tab, but I don't think I can find the "Move Format" option. Is it near the bottom? Because the dialog fills the whole of my screen. I can make it smaller but there is no scrollbar so the lower potion just disappears. I don't even know if there is an "Okay" button. RE: How to Debug? - Eric Piette - 11-02-2020 If you look that image, you can see the Move Format option, 4 from the bottom of the preferences in the advanced settings. Regards, Eric |