Autor Beitrag
mirom
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 56

Win2000, Win XP

BeitragVerfasst: Mi 06.10.04 14:36 
Hallo !

wie zu erraten ist, ich bin ( war ) VB programmierer und nun zu Delphi umgestiegen.

Gibt es ein DEBUG.PRINT-änliche anweisung bei Delphi ?

Danke, Miro

{sorry for poor german}
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Mi 06.10.04 14:49 
Hallo!

Mit der Funktion "OutputDebugString" in der Unit Windows kannst du Strings in das Ereignisprotokoll (Strg+ALT+V) schreiben lassen.

Cu,
Udontknow

PS: Your German isn´t this poor... :wink:
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Mi 06.10.04 14:49 
was bewirkt die DEBUG.PRINT anweisung?

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
mirom Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 56

Win2000, Win XP

BeitragVerfasst: Mi 06.10.04 15:21 
Habe kein Ereignisprotokol zu auswählen !

Benutze D7 personal.

@GSE: damit kannst zu 'Debug-Fenster' direkt meldungen ausgeben ( zb Variablen ) und ablauf kontrolieren.
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Mi 06.10.04 15:37 
Also ich kann mir nicht vorstellen, daß es das Ereignisprotokoll in D7 Personal nicht gibt.

Taucht denn im Menü nicht der Eintrag Ansicht\DebugFenster\Ereignisprotokoll auf?

Cu,
Udontknow
mirom Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 56

Win2000, Win XP

BeitragVerfasst: Mi 06.10.04 15:48 
Nein. Nur folgendes:

- Haltepunkte: Strg+B
- Aufruf-Stack: Alt+7
- Überwachte Ausdrucke: Alt+3
- Threads: Strg+Alt+H
- CPU: Alt+8

??