Autor Beitrag
f6dqm1
Hält's aus hier
Beiträge: 1

win98
delphi7
BeitragVerfasst: Do 11.11.04 11:32 
Hi
I have a problem that I cannot solve :
I use Delphi7.
In an application including several forms and units, breakpoints are ignored on the main unit as well as step by step etc. But it works correctly on the other units of the same application.
When adding a new statement in the main unit, it is correctly executed but still no possible breakpoint in the unit. I have deleted all the DCUs of the application and reconstruct all units but no change. In the main unit, there should be blue points in regards to each executable statement but no such blue marks appears unless in regards to the last end of the relevant unit.
When looking to the other units of the same application, the blue points appear OK.
The compiling process ends correctly and the application can be run OK but impossible to debug the main unit.
There is no fatal errors in the main unit when compiling.
Any idea ?
Many thanks in advance (Bitte Antwort im English oder Französich weil mein Deutsch ist sehr schlecht !)
Gabriel
.Chef
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1112



BeitragVerfasst: Do 11.11.04 12:23 
I had french at school, but some time went by since then, so I prefer english. ;-)

f6dqm1 hat folgendes geschrieben:
When adding a new statement in the main unit, it is correctly executed but still no possible breakpoint in the unit. I have deleted all the DCUs of the application and reconstruct all units but no change. In the main unit, there should be blue points in regards to each executable statement but no such blue marks appears unless in regards to the last end of the relevant unit.

After adding a new statement you have to compile your project to make the little blue dots appear. Only then breakpoints will be accepted.

Regards,
Jörg

_________________
Die Antworten auf die 5 häufigsten Fragen:
1. Copy(), Pos(), Length() --- 2. DoubleBuffered:=True; --- 3. Application.ProcessMessages bzw. TThread --- 4. ShellExecute() --- 5. Keine Vergleiche von Real-Typen mit "="!