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

uVision3 hangs when downloading C++ executable

We bought an ADuC7020 QuickStart system.
GNU Compiler translates C++ programs successfully,
but uVision3 hangs when trying to download an executable file into the chip (through Keil ULINK).
Whereas C-programs download normally.

uVision3 hangs even when downloading such simplest program:

struct A
{
virtual void f()=0;
};
struct B : public A
{
virtual void f(){}
};
int main()
{
B b;
A* a = &b;
a->f();
return 0;
}

Thanks.

Dr. Tychinsky.

Parents
  • "In uVision3 I set debug options. With these options C-program are debuging, but C++program not."

    Back to my original question, does uVision support C++ debugging?

    I thought Keil was a strictly 'C' toolset - not C++.

    The debugger can always show disassembly, because that is independent of the source language - but it can only give source-level debugging if it understands the source language. I don't think that uVision understands C++...

Reply
  • "In uVision3 I set debug options. With these options C-program are debuging, but C++program not."

    Back to my original question, does uVision support C++ debugging?

    I thought Keil was a strictly 'C' toolset - not C++.

    The debugger can always show disassembly, because that is independent of the source language - but it can only give source-level debugging if it understands the source language. I don't think that uVision understands C++...

Children