if you love "print shit to the console" debugging and u write @rustlang:
`cargo test -- --nocapture` FTW
-
-
It's my favorite way to test libraries because the compiler might say it's fine but the actual code might not be.
1 reply 0 retweets 5 likes -
Replying to @mgattozzi @rustlang
yupppp, literally what i've been doing yesterday and today! i love to print shit to the console :P it's my fave and only debugging strategy tbh
1 reply 0 retweets 6 likes -
I see you too also only debug with print statements. Lol I never understood gdb despite having to use it in my cs classes, so printing only it is! ¯\_(ツ)_/¯
4 replies 0 retweets 3 likes -
Replying to @mgattozzi @rustlang
afaict there's a lot of us print statement debuggers. we should get gang jackets or something hahaha
2 replies 0 retweets 11 likes -
println!("It's the only way I know how to debug") Or something like that. I would absolutely buy one if these jackets
2 replies 0 retweets 4 likes -
-
println!("{:#?}", show_me_the_problem);
1 reply 0 retweets 0 likes -
Replying to @mgattozzi @rustlang
hahahaahaha fun fact, i actually hate the pretty debugger lol, shh dont tell
@Carols10cents2 replies 0 retweets 6 likes
IT'S FINE
-
-
<3 ilu carol
2 replies 0 retweets 4 likes -
Replying to @ag_dubs @Carols10cents
I feel like the pretty debugger is just misunderstanding the kind of party it's showing up to. Like it's dressed for a wedding but we're just having an office christmas party.
1 reply 2 retweets 10 likes - 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.