This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't debug when using virtual methods

Hi,

Im able to compile and link a C++ application for the ARM7 LPC2378 using virtual methods.

However, when I try to run this application in debug mode, the debugger never reaches the "main". If I remove the virtual method (defined as pure virtual from which a class derives from) and use typical method definition, the application starts fine and im able to debug it.

Any ideas why this is not working?

I've tried theses option for the compiler:
--cpp --no_vfe
and these for the linker:
--vfemode=off

... with no luck.

The tool versions number im currently using are as follow:

IDE-Version:
uVision3 V3.62c
Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2008

Tool Version Numbers:
Toolchain: RealView MDK-ARM Version: 3.22a
Toolchain Path: BIN31\
C Compiler: Armcc.Exe V3.1.0.934
Assembler: Armasm.Exe V3.1.0.934
Linker/Locator: ArmLink.Exe V3.1.0.934
Librarian: ArmAr.Exe V3.1.0.934
Hex Converter: FromElf.Exe V3.1.0.934
CPU DLL: SARM.DLL V3.22a
Dialog DLL: DARMP.DLL V1.40
Target DLL: BIN\UL2ARM.DLL V1.40
Dialog DLL: TARMP.DLL V1.40