Re: MOZ_DBG

2019-03-30 Thread Dave Townsend
This sounds excellent. I think on Monday I'll go right to work making this work for URIs which are probably the things I end up logging the most from C++. On Fri, Mar 29, 2019 at 11:16 PM Cameron McCormack wrote: > Lately I've been finding Rust's dbg!() macro[1] useful for quick > debugging.

MOZ_DBG

2019-03-30 Thread Cameron McCormack
Lately I've been finding Rust's dbg!() macro[1] useful for quick debugging. Its main usefulness is in avoiding the need to extract out an expression into a separate variable just so that you can print out its value and then use the value in its original context. I wanted something similar for