0

I am using Delphi XE7.

When I build (Shift + F9) my project (Win 32 platform) the blue dots do not appear in the source code of some procedures. Because of that it is impossible to trace the instructions of these procedures.

My project has 33 forms, 1 data module form with 18 queries (TFDQuery), one for each table of the database. The biggest unit is the unit of the data module form (25,866 lines).

  1. Project Manager Build Configuration = Debug.
  2. Project Option:
    1. Delphi Compiler > Compiling:
      Debug information = Debug information;
      Local symbols = true;
      Symbol reference info = reference info.
    2. Delphi Compiler > Linking:
      Assertions = true;
      Include remote debugging = true;
      Map file = Detailed.
Cœur
  • 37,241
  • 25
  • 195
  • 267
IMeMine
  • 5
  • 3
  • 1
    Is this code inside conditionals? Is it used anywhere? Do you have any compiler hints about unused procedures? – Jerry Dodge Apr 16 '15 at 14:57
  • Works fine here. How can we reproduce. – David Heffernan Apr 16 '15 at 14:59
  • Common cause for some functions not being debuggable include them having been stripped because never called, or them being inline. As I seem to have said a million times though, if you don't demonstrate thee problem, how can we solve if definitively? – David Heffernan Apr 16 '15 at 16:29
  • Thank you Jerry! After two days trying to solve this problem finally somebody gave me a big clue: "unused procedures". I have noticed that the procedures without the blue dots are not used. The blue dots only appear in the source code of the used procedures after the project is built (Shift+F9). – IMeMine Apr 16 '15 at 17:18
  • 1
    The linker strips functions that it can prove are not called – David Heffernan Apr 16 '15 at 18:21

0 Answers0