Kevin Stallard(deleted)
|
gdb 6.7 u9 gets confused when one of two methods of the same name but in different classes is stepped into (or over)
|
Kevin Stallard(deleted)
10/10/2008 12:51 PM
post14868
|
gdb 6.7 u9 gets confused when one of two methods of the same name but in different classes is stepped into (or over)
whew...that was a very long title...
Yes, this seems to be the case. I had two methods, the same name, residing in different classes. When I went to step
into one of them GDB locked up and I had to kill my application. I was befuddled, greatly befuddled.
I thought maybe the stack size was too small and a stack overflow was occurring or somethings strange like that. But
then it occurred to me that there was another method with the same name kicking around in another class.
So, having run out of sensible things to try, I renamed it. Low and behold, I was a stepping like mad man once again.
No response necessary to this, I just wanted to contribute something such that I may be able to help the poor
unfortunate soul, up in the early hours of the morning, missing his pillow, trying to figure out why he can't do
something as simple and elementary as stepping into or over a perfectly normal function, wondering in quite desperation
if something nasty in his code was contributing to the anomaly.
Happy QNXing,
Kevin
|
|
|