15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


MSVC 1.5 debuging: GPF in EEW0CXX.DLL

Igor Pechersky -- Igor_Pechersky%HBOC-PEGASUS@notes.worldcom.com
Monday, November 04, 1996

 Environment: Windows 3.11 Development System: Visual C++ 1.52c
 
 Let you imagine the chain of CObject-derived classes:
CObject -- CWnd -- ... -- CMy0 -- CMy1 -- CMy2.
 During debugging, after completion of CMy2's constructor ("on it's last curly 
brace"), you try to see in Watch Window **this** casted to (CObject*). CRASH in 
MSVC's C++ expression evaluator EEW0CXX.DLL.
 The same crash occurs in some other cases of debugging in the scope of this 
distinct class (walk-down into Call Stack, watching of it's __vfptr etc.).
 From the other hand, these operations are absolutely harmless during 
instantiating of any other class, including CMy0, CMy2 or non-MFC derived 
classes.
 Any suggestion?

 Igor.Pechersky@hboc.com



Andrew Gebbie -- andrew@gebbie.demon.co.uk
Thursday, November 07, 1996

>  Let you imagine the chain of CObject-derived classes:
> CObject -- CWnd -- ... -- CMy0 -- CMy1 -- CMy2.
>  During debugging, after completion of CMy2's constructor ("on it's
last curly 
> brace"), you try to see in Watch Window **this** casted to
(CObject*). CRASH in 
> MSVC's C++ expression evaluator EEW0CXX.DLL.
>  Any suggestion?

Sounds like a bug in the DLL to me.

You didn't say if the crash happens with the integrated debugger or
with Codeview for Windows, or both.  If it's the integrated debugger,
try switching to Codeview.

Andrew





| Вернуться в корень Архива |