I'm using an app. which uses couple of units to perform a operation/tasks
etc.. .At the MainUnit.pas I can set the breakpoints and run the program,
when the compiler comes to breakpointed line(crimson color) it stops as
usually and doesn't jumps to the unit where the refered function/procedure
resides. Even pressing F7(step into) doesn't help, compiler runs through the
code as if I pressed F8. In the case ,I set the breakpoints at the unit
where func/procs are breakpoints somehow becomes
Any Idea ?
This is usually a sign for DCUs that have not been build with debug information
(the debug-related checkboxes on the project options compiler page, not the
stuff on the linker page). Or you have more than one copy of the DCU around and
IDE debugger does not find the one with debug info you created with the last
rebuild.
--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be
I hav done as you said go to the Project/Options/Compiler/Debugging
RadioGroup and all the items were checked but the Use Debug DCUs (checking
it not doesn't change anything), this means that debug info is enable in
this case. Checked Delphi7/Lib to make sure that not more than one instance
of "SCDrawingSurface.dcu" exists(only one copy was there). What else can I
do ? Am I doing something wrong ?
Thnx for help,
Regards,
"Peter Below (TeamB)" <10011...@compuXXserve.com>, haber iletisinde
sunlari yazdi:VA.0000c6c...@nomail.please...
Are you putting your own DCUs into the Delphi LIB directory? That is not a
good idea, IMO. Search *all* of your disk for the dcu in question, there may
be a copy elsewhere. Do you have the "unit output directory" in the project
options set? If yes the DCUs will go into this folder. If the setting is empty
they will go into the projects home folder (where the DPR file sits). They
should never end up in the Delphi LIB directory unless you have set the unit
output directory to that.
thanks for helping me Peter and I 'll keep in mind your suggestions.
"Peter Below (TeamB)" <10011...@compuXXserve.com>, haber iletisinde
sunlari yazdi:VA.0000c6c...@nomail.please...