[Lazarus] Can not run in debug mode for WinCe

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue Apr 23 16:21:23 CEST 2013


On Mon, Apr 22, 2013 at 6:06 PM, GREP <epergola at outlook.com> wrote:
> Sorry, what is the default debug directory?

It is written in the wiki, the default debug directory is \gdb as written here:

Step 4 - Optional - This step is optional and if you don't do it, gdb
will do this for you, but it might take some 5 minutes to do it. Copy
your executable file with File Explorer program in your emulator to
the directory "\gdb". If there is no gdb directory in the root folder,
create it.

> If i put D:\lazarus\mingw\bin\gdb.exe, then when I run the app it tellsme is
> not
> a valid executable.

Are you following the wiki instructions precisely?
D:\lazarus\mingw\bin\gdb.exe is a win32 desktop debugger. It is not a
wince cross-debugger. This should be fixed in step 1 of the
instructions:

Step 1 - In Lazarus IDE go to the menu Environment->Debugger Options.
Change the debugger path to the directory with gdb for wince.you can
get it from here
ftp://ftp.freepascal.org/pub/fpc/contrib/cross/gdb-6.4-win32-arm-wince.zip

I recommend that you follow the step-by-step instructions in the wiki.
Follow precisely all steps. First step 1, then step 2, and so on.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list