Discussion:
Debugger error in Delphi 2007?
(too old to reply)
Pontus Berg
2008-01-21 23:42:47 UTC
Permalink
Howdy!

I have a project that has been growing at a slow pace for several years,
since may Delphi versions back.

Migrating it to a trial version of Delphi 2007 caused me problems and I
wonder if it's my fault of something else;

Basics: The project did spring off into a few implementations - one for
each recipient. I have a fairly large common "core", which is linked in
to each individual implementations project source. So the project source
mainly contains code for the About window, license limitations for the
version and a few extras. The rest is in the core section (Not sure this
matters but has proven working and handy up to Delphi 2006)

Running the project (Delphi 2007 - Dec update) now won't work, as the
debugger goes berserk. The errors I receive are arbitrary (I can't see
any logic).

Just running the "demo instance" (the one published as shareware -
picked as an example) reports a program error. The program cannot be
initiated correctly (0xc0000005) and stops at begin of the project file.

Run without debugging reports "access violation at address 0x002077f0:
access of address 0x002077f0"

If I turn off debugging, the program works just fine, but of course
debugging is not available and I fancy using a few breakpoints every now
and then, as well as tracing ;-)

The machine has Delphi 2006 and Delphi 2007 installed in parallel. It's
a quad core Dell Dimension DXP061, 2GB RAM, XP MCE version 2002 SP2

What on earth hit me? Any proposals of software that can probe my code
for anomalies? Shall I kick our Delphi 2006 and reinstall Delphi2007
cleanly as the only CodeGear product?

HEEEELP ;-)

/Pontus Berg
Pontus Berg
2008-01-23 22:36:45 UTC
Permalink
Post by Pontus Berg
Running the project (Delphi 2007 - Dec update) now won't work, as the
debugger goes berserk. The errors I receive are arbitrary (I can't see
any logic).
For those who might share my experience, the solution is to kill a
running task that handles a Logitech webcam. Totally wierd but not my
project works like a charm again!

See http://blogs.codegear.com/nickhodges/2007/06/13/35998

/Pontus
Rich Rohde
2008-02-06 05:38:08 UTC
Permalink
For those who might share my experience, the solution is to kill a running
task that handles a Logitech webcam. Totally wierd but not my project
works like a charm again!
Thanks, had a similar problem and opened Task Manager and found I had a
process call QuickCam, ended the process and 'bingo', my RUN(F9) problem
went away.

Rich

Loading...