[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

cannot evaluate variables at runtime

Hello,

My IDE is delphi 2005.
I am programming an asp.net 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

Thanks
0
PHD
Asked:
PHD
  • 2
  • 2
  • 2
1 Solution
 
Mohammed NasmanSoftware DeveloperCommented:
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

Regards,
Mohammed
0
 
PHDAuthor Commented:
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'.

0
 
Mohammed NasmanSoftware DeveloperCommented:
Could you post the code you have problem with?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
BlackTigerXCommented:
1)delete the .dcuil files and rebuild your project again
2) set the option to DEBUG (not release)
0
 
PHDAuthor Commented:

> 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
0
 
BlackTigerXCommented:
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
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now