4 ms·
Probably the compiler should both inline it and include a standalone version when debugging is enabled.
by comex 13y ago
Probably the compiler should both inline it and include a standalone version when debugging is enabled.
- hdevalence 13y agoNo, because you need to debug the code you're actually running, not some other code that's easier to debug.
- comex 13y agoI believe we're talking about a function such as std::vector::operator[]. You wouldn't usually be debugging a particular attempt to access an element of a vector, you'd have a vector and want to easily see what's in it, using a debugger-constructed call to the function.