[Lazarus] Can not run in debug mode for WinCe

Sven Barth pascaldragon at googlemail.com
Sun Apr 21 11:42:40 CEST 2013


On 21.04.2013 02:12, GREP wrote:
> Hi
>   I have tried (and read) all I could till now, but I haven't succeded
>   Please, help.
>   The app builds fine and runs fine in the WM 6.1 emulator.
> But I cannot run it from Lazarus.
> These are my project options
>
> <http://free-pascal-lazarus.989080.n3.nabble.com/file/n4030869/debug1.gif>
>
> <http://free-pascal-lazarus.989080.n3.nabble.com/file/n4030869/debug2.gif>
>
> Note: I cannot use
> <http://free-pascal-lazarus.989080.n3.nabble.com/file/n4030869/debug0.gif>
> as suggestee on a online help, because I get this error when I build
>      ifpos.lpr(0,0) Fatal: Can not find unit lnfodwrf used by ifpos.
> This is what I have in Tools-> Options->Debugger

For WinCE we only support Stabs as debug format, so the error is correc

> <http://free-pascal-lazarus.989080.n3.nabble.com/file/n4030869/debug3.gif>
> and I have the gdb on my D:drive
> <http://free-pascal-lazarus.989080.n3.nabble.com/file/n4030869/debug4.gif>
>
> When i Clean and build the app and run it form the Lazarus IDE
> I get these erroors in the View->Debugger output:
>
> ~"Connectig to remote device...\n"
> &"error opening file \"\\gdb\\wince-stub.exe\".  Windows error 32.\n"
> ^error,msg="error opening file \"\\gdb\\wince-stub.exe\".  Windows error
> ........
> ~"The program being debugged is not being run.\n"
> .......
> &"Undefined info command: \"pid\".  Try \"help info\".\n"

Did you copy the wince-stub.exe (should be located in the same directory 
as gdb.exe) file to the directory "\gdb\" on the device?

Regards,
Sven




More information about the Lazarus mailing list