Autor Beitrag
bbfan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 164



BeitragVerfasst: Mi 26.04.06 13:06 
Hallo Leute!
Aus irgendwelchen Gründen fehlt der "." am linken Rand (da wo im Bild der Pfeil ist) .
Dadurch rennt das programm in falsch Verzweigungen etc. Auch breakpoints werden übersprungen. Die Zeile wird dann grün.
Hab schon alles neu compiliert und builden lassen nix nutzt.

Was geht hier schief?
Einloggen, um Attachments anzusehen!
Kroko
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1284

W98 W2k WXP
Turbo D
BeitragVerfasst: Mi 26.04.06 13:28 
Dann hat es der Compiler wegoptimiert :wink:

_________________
Die F1-Taste steht nicht unter Naturschutz und darf somit regelmäßig und oft benutzt werden! oder Wer lesen kann, ist klar im Vorteil!
bbfan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 164



BeitragVerfasst: Mi 26.04.06 13:29 
ja, aber das ist falsch. Das sind gültige Programmzeilen...
Simon Joker
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 236
Erhaltene Danke: 1



BeitragVerfasst: Mi 26.04.06 14:16 
1. Dcu's löschen -> testen
Immer noch Mist ->
2. prüfe deine Zeilenumbrüche. Die müssen aus Enter&Linefeed bestehen. Ist nur eines vorhanden, wird der Code zwar umgebrochen, aber die Refenezierung für den Debuger geht in die Hose.

MfG Simon
bbfan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 164



BeitragVerfasst: Mi 26.04.06 14:51 
keine Chance. Gute Tipps! Hat leider nich geholfen....
Ich wer noch verrückt!
Kroko
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1284

W98 W2k WXP
Turbo D
BeitragVerfasst: Mi 26.04.06 15:04 
Dein Bild zeigt doch eindeutig, dass die Punkte fehlen, also werden diese Quellen nicht in die Exe übernommen.
//Glaskugel an

Deine Quellen scheinen ja hochgeheim zu sein, sonst könnte man ja mal dort nachschauen! :wink:

//Glaskugel aus

_________________
Die F1-Taste steht nicht unter Naturschutz und darf somit regelmäßig und oft benutzt werden! oder Wer lesen kann, ist klar im Vorteil!
Horschdware
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 744
Erhaltene Danke: 54

Win XP Pro, Win 7 Pro x64
Delphi 7, Delphi XE, C++ Builder 5, SAP R/3
BeitragVerfasst: Mi 26.04.06 15:11 
... ich tippe mal auf einen Logikfehler im Code durch den der Betreffende Teil nie ausgeführt wird und letztendlich vom Compiler rausgeschmissen wird.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
procedure TForm1.Button1Click(Sender: TObject);
begin

  if (0 <> 0) then
    Caption:='2';

  if (0 = 0) then
    Caption:='1';

end;


die obere abfrage fällt komplett raus und ich bekomme auch keine "punkte zum breakpoint"


edit: (naja... jetzt hab ich auch nicht mehr gesagt als eh schon bekannt ist. aber hauptsache nochmal verdeutlicht ^^)

_________________
Delphi: XE - OS: Windows 7 Professional x64
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Mi 26.04.06 16:20 
Wenn ich mir den Screenshot so ansehe dann tippe ich auch auf:
user profile iconSimon Joker hat folgendes geschrieben:
2. prüfe deine Zeilenumbrüche. Die müssen aus Enter&Linefeed bestehen.


Kopiere den kompletten Sourcecode in die die Zwischenablage, öffne Notepad, kopiere dort den Sourcecode rein, kopiere wieder den Sourcecode und füge dann den Code innerhalb von Delphi ein.

Das hat meistens bei mir geklappt.

Lg Martin

_________________
Ein Nutzer der Ecke ;-)
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mi 26.04.06 17:10 
ich hatte mit der delphi ide noch nie probleme, außer dass bei delphi2005 andauernd fehlermeldungen kommen ^^ ansonsten passieren einigen leuten dinge, die einfach unbegreiflich und erstaunlich sind.

das wollte ich nur grad los werden ^^
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 26.04.06 18:32 
Zeig doch bitte mal den Code, der nicht kompiliert wird !!

_________________
In the beginning was the word.
And the word was content-type: text/plain.
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Mi 26.04.06 19:09 
user profile iconF34r0fTh3D4rk hat folgendes geschrieben:
[..] außer dass bei delphi2005 andauernd fehlermeldungen kommen [..]
Bei mir eher selten, mit den Updates läuft es doch recht stabil!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mi 26.04.06 19:11 
es gibt updates ? :lol:
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Mi 26.04.06 19:26 
user profile iconF34r0fTh3D4rk hat folgendes geschrieben:
es gibt updates ? :lol:
Drei um genau zu sein:
www.borland.com/down...download_delphi.html

(Ohne die, ist es wirklich die Hölle.)
Aber jetzt hör ich auf, sonst wirds zu viel Offtopic.

Viele Grüße,
Hape

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mi 26.04.06 19:27 
hab ich gerade gelesen, aber net für die personal


ok ende mit off topic ^^