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 <[email protected]> wrote: > On Mon, Aug 2, 2010 at 2:16 PM, RichardC > <[email protected]>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 > [email protected] > > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

