|
From: Philippe W. <phi...@sk...> - 2011-04-20 20:12:10
|
I also support the statement that line numbers are often not precise enough. If there is a user demand for this (at work, nobody ever complained), then this should for sure not be hardcoded, i.e. this should be the addition of a command line option to disable showing the program counter. > On 04/20/2011 07:21 AM, Alexander Potapenko wrote: >> Spending much time on debugging the reports from the TSan tool I would >> suggest not to remove the addresses. >> You don't need those while you have the debug info, > > In practice, line numbers are not precise enough. The same line often > maps to many different and non-consecutive PCs, and consecutive PCs > often map to non-consecutive lines. Debugging often involves mental > "backward execution". Not having the correct PC as a starting point > makes it much harder than necessary. |