RAD Studio (Common)
ContentsIndex
PreviousUpNext
Debugging VCL for .NET Source Code

To debug VCL for .NET source code, you must set certain project options that are not needed when debugging other types of applications. The options are off by default and must be specifically set.

To enable options for debugging VCL for .NET source code

  1. Open a VCL for .NET project.
  2. Choose ProjectOptionsCompiler.
  3. Check the Use debug DCUILs check box.
  4. Click OK.
  5. Select any Borland-produced assembly under References in the Project Manager.
  6. Right-click the assembly and choose Link in Delphi Units. This sets the Link Units property to True in the Object Inspector.
  7. Repeat the previous two steps for each CodeGear assembly that you want to debug.
You are now able to debug VCL for .NET source code.
Tip: You can use this procedure to debug VCL for .NET assemblies produced by a third party if the debug DCUILs for those assemblies are available.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!