cannot evaluate variables at runtime

Posted on 2005-05-09
Last Modified: 2010-04-05

My IDE is delphi 2005.
I am programming an application.
Every time I try to evaluate variables or use the watch I get this message :
   > (compiler error): symbol is not linked in executable.

With other application I have no problem to watch variables.

How can I make those functionalities availables at runtime

Question by:PHD
    LVL 22

    Expert Comment

    Hi PHD

    You seems adding variable without using it, try to compile the project without running (CTRL + F9) and look if you got warrinng about variable you never used

    Delphi compiler optimizes the code, so I think your variable remove due to optimization

    try to assign the variable to a textbox and look if you see this error or not

    LVL 6

    Author Comment

    Thank Mohammed.

    I think this not because I test  unused variables.
    To be sure I tested you suggestion.

    I also have the message when I try to veluate somthing like 'textbox1.text'.

    LVL 22

    Expert Comment

    Could you post the code you have problem with?
    LVL 13

    Accepted Solution

    1)delete the .dcuil files and rebuild your project again
    2) set the option to DEBUG (not release)
    LVL 6

    Author Comment


    > 2) set the option to DEBUG (not release)

     Can you please, write the procedure.
     I looked in the option panel and did not find this option.

    Thank you
    LVL 13

    Expert Comment

    I don't have Delphi 2005 here, but it should be in the project, options, or in the main Delphi window at the top I think it allows you to change that in a simple drop down box that says DEBUG, or RELEASE

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Suggested Solutions

    In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
    Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video discusses moving either the default database or any database to a new volume.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now