Lots of times it would be nice for logging. Sometimes you'd like to store an "I was here" indicator in a structure when you modify it. Yes, there are alternatives, but not as nice.
On Aug 2, 7:53 pm, Dianne Hackborn <hack...@android.com> wrote: > On Mon, Aug 2, 2010 at 2:16 PM, RichardC > <richard.crit...@googlemail.com>wrote: > > > Yes I have the code to get them but it's a runtime call .... > > So what? What are you trying to do with the line number where the overhead > of a runtime call is significant? > > Honestly, I spent years programming in C++, and this is not a feature I have > *ever* felt I was missing. The ability to get full complete stack crawls at > any point more than makes up for it. > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en