News for hackers. Stuff that matters.
Re:Toward Go 2 by mathw on Friday July 14, 2017 @02:38AM (#14767992)
Since C++ monomorphises every single template instantiation in a program, your debugger certainly should be able to tell you what the type parameters for that instance were!
Re:Toward Go 2 by Someone on Friday July 14, 2017 @03:31AM (#14768183)
A sufficiently smart linker will make that harder by removing functions that, byte for byte, are identical to one they already included in the executable ("identical code folding"; both gcc's gold linker and visual studio support that).
Re:Toward Go 2 by adrianratnapala on Friday July 14, 2017 @08:38PM (#14774367)
In my line of work I am very rarerly actully looking at a running executable with an interactive degger.

More often I am navigating through source code comparing it to logs, stack traces and other evidence that I can grab of what went wrong in production.

The source-level is important, because although I said "debugging" in my comment, what that very often comes to is first figuring out the intent of some other engineers from the thing they wrote -- and what they wrote is the source code, not the program state.