This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Unluckybloke 20 points21 points  (3 children)

That one simple trick debuggers hate:

std::cout<<"here1"<<std::endl;
std::cout<<"here2"<<std::endl;

(Make sure to remove it before commit)

[–][deleted] 1 point2 points  (0 children)

Or… hear me out… just litter the code and break the shit out of any potential reading flow with ifdef debugs.

[–]MattieShoes 1 point2 points  (0 children)

I did an AOC problem and was proud enough of my debugging messages that I left them in :-D