Another way than printing to stderr is to log into a file. You can log what you send to the judge and what you receive, plus any extra information (e.g. the content of the array you have so far).
On Saturday, 11 April 2020 06:55:20 UTC+8, Lev Raizman wrote: > > Hello all, > > I'm looking for a method for debugging my solutions to interactive > problems using a debugger. In particular, I wan't to be able to set > breakpoints in my C++ solution, and have them trigger when it reaches that > point. The problem arises because I call the interactive runner, and pass > the binary as a parameter. I've spent quite sometime looking online, and > couldn't find anything relevant. It would also be nice if I could set > breakpoints in the local_test file, but that is optional. > > I'm using Visual Studio Code, but a solution in any IDE, or even in gdb in > a terminal would be great. > > Thank you, > Lev > -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-code+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/e14a9930-1b05-40b1-b37c-c0d777a6f2a8%40googlegroups.com.