• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Lazarus : Fehler beim Debuggen

A

Anonymous

Gast
Hi, ich habe ein Problem:

Ich habe openSUSE 11.1 (KDE 4.3) und wenn ich folgendes Programm ausführen möchte bleibt es beim Debuggen hängen (Neu -> Projekt: program):

program project1;

{$mode objfpc}{$H+}

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes
{ you can add units after this };

begin
WriteLn('Hallo Welt');
ReadLn
end.

In der Konsole steht dann:
Code:
TCompiler.Compile WorkingDir="/home/michael/Informatik/" CompilerFilename="/usr/bin/fpc" CompilerParams=" -MObjFPC -Scgi -O1 -gl -vewnhi -l -Fu. -oproject1 project1.lpr"                                                                       
[TCompiler.Compile] CmdLine="/usr/bin/fpc  -MObjFPC -Scgi -O1 -gl -vewnhi -l -Fu. -oproject1 project1.lpr"                                                      
TOutputFilter.Execute :TProcessUTF8                                             
Hint: Start of reading config file /etc/fpc.cfg                                 
Hint: End of reading config file /etc/fpc.cfg                                   
Free Pascal Compiler version 2.2.2 [2009/02/04] for x86_64
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling project1.lpr
Linking project1
16 lines compiled, 0.9 sec
2 hint(s) issued
[TCompiler.Compile] end
[TDebugManager.DoInitDebugger] A
[TCmdLineDebugger] Debug PID: 4866
TGDBMIDebugger.ProcessResult Error: ,msg="No symbol table is loaded.  Use the \"file\" command."
[Debugger] Running GDB version: GDB; openSUSE 11.1
[TDebugger.SetFileName] "/home/michael/Informatik/project1"
[TDebugManager.DoInitDebugger] END
[TMainIDE.DoRunProject] B TGDBMIDebugger
TDebugManager.RunDebugger A True Destroying=False
TDebugManager.RunDebugger B TGDBMIDebugger
TGDBMIDebugger.StartDebugging WorkingDir="/home/michael/Informatik/"
TGDBMIDebugger.ProcessResult Error: ,msg="No symbol \"FPC_THREADVAR_RELOCATE_PROC\" in current context."
[Debugger] Log output: &"info functions FPC_CPUINIT\n"
[Debugger] Log output: &"info address main\n"
[Debugger] Log output: &"info file\n"
[Debugger] File type: elf64-x86-64
[Debugger] Entry point: 0x4001a0
[WARNING] Debugger: Unexpected async-record: =thread-group-created,id="4867"
[WARNING] Debugger: Unexpected async-record: =thread-created,id="1",group-id="4867"
[WARNING] Debugger: Unexpected async-record: *running,thread-id="all"
[DBGTGT] *
[DBGTGT] running,thread-id="1"
[Debugger] Log output: &"info program\n"
[Debugger] Target PID: 4867
[WARNING] Debugger: Unexpected async-record: *running,thread-id="all"

An was liegt das? Was ist daran noch falsch?

Gruß
 
Oben