[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | Digital Ladebug debugger |
|
Moderator: | TLE::LUCIA |
|
Created: | Fri Feb 28 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 969 |
Total number of notes: | 3959 |
874.0. "p e.D.n1" by ADA9X::BRETT () Mon Mar 10 1997 15:44
% ladebug a.out
Welcome to the Ladebug Debugger Version 4.0-32
------------------
(ladebug) W
1 class C {public: int m1;};
2 class D : public C {public: int n1;};
3 class E : public D {public: int q1;};
4 E e;
5 int main()
6 {
> 7 return ((D)e).n1;
8 }
This should NOT work - this is not legal C++ notation - but it does...
(ladebug) p e.D.n1
0
This should work - this is legal C++ notation - but it doesn't...
(ladebug) p (D)e
Internal Error: Method not finished yet: coerceClas different sizes.
Unable to cast E to D
Error: no value for (D)e
(ladebug) p ((D)e).n1
Internal Error: Method not finished yet: coerceClas different sizes.
Unable to cast E to D
Error: no value for (D)e.n1
/Bevin
T.R | Title | User | Personal Name | Date | Lines |
---|
874.1 | Added | TLE::MERRITT | Steve Merritt, Ladebug Team | Fri Apr 18 1997 15:00 | 1 |
| Added to C++ bugs list.
|