In a form if I insert a DirectoryEdit or a call to SelectDirectory Dialog the debugger crash.
I'm runnig Lazarus0.9.22 on Windows XP .
The application out of the IDE works fine .
This is the cut and paste of the debug shell :
(gdb)
<-gdb-set confirm off>
^done
(gdb)
<-gdb-set new-console off>
^done
(gdb)
<-gdb-version>
~"GNU gdb 6.0\n"
~"Copyright 2003 Free Software Foundation, Inc.\n"
~"GDB is free software, covered by the GNU General Public License, and you are\n"
~"welcome to change it and/or distribute copies of it under certain conditions.\n"
~"Type \"show copying\" to see the conditions.\n"
~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n"
~"This GDB was configured as \"i686-pc-mingw32\".\n"
^done
(gdb)
<-gdb-set env ALLUSERSPROFILE=C:\Documents and Settings\All Users>
^done
(gdb)
<-gdb-set env APPDATA=C:\Documents and Settings\omissisWhoIam\Dati applicazioni>
^done
(gdb)
<-gdb-set env CLIENTNAME=Console>
^done
(gdb)
<-gdb-set env CommonProgramFiles=C:\Programmi\File comuni>
^done
(gdb)
<-gdb-set env COMPUTERNAME=P10109>
^done
(gdb)
<-gdb-set env ComSpec=C:\WINDOWS\system32\cmd.exe>
^done
(gdb)
<-gdb-set env CPATH=C:\PROGRA~1\EUROTH~1\LINtools>
^done
(gdb)
<-gdb-set env FP_NO_HOST_CHECK=NO>
^done
(gdb)
<-gdb-set env HOMEDRIVE=U:>
^done
(gdb)
<-gdb-set env HOMEPATH=\>
^done
(gdb)
<-gdb-set env HOMESHARE=\\arwen.omissis.it\omissisWhoIam>
^done
(gdb)
<-gdb-set env IBMSHARE=C:\IBMSHARE>
^done
(gdb)
<-gdb-set env LOGONSERVER=\\omissisTOO>
^done
(gdb)
<-gdb-set env LTDIR=C:\PROGRA~1\EUROTH~1\LINtools>
^done
(gdb)
<-gdb-set env NewEnvironment1=C:\Programmi\PC-Doctor for Windows\>
^done
(gdb)
<-gdb-set env NUMBER_OF_PROCESSORS=1>
^done
(gdb)
<-gdb-set env OS=Windows_NT>
^done
(gdb)
<-gdb-set env Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\IBMTOOLS\Python22;C:\PROGRA~1\IBM\CLIENT~1;C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;;C:\PROGRA~1\FILECO~1\EUROTH~1>
^done
(gdb)
<-gdb-set env PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.pyo;.pyc;.py;.pyw>
^done
(gdb)
<-gdb-set env PROCESSOR_ARCHITECTURE=x86>
^done
(gdb)
<-gdb-set env PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 9, GenuineIntel>
^done
(gdb)
<-gdb-set env PROCESSOR_LEVEL=15>
^done
(gdb)
<-gdb-set env PROCESSOR_REVISION=0409>
^done
(gdb)
<-gdb-set env ProgramFiles=C:\Programmi>
^done
(gdb)
<-gdb-set env PYTHONCASEOK=1>
^done
(gdb)
<-gdb-set env RRU=C:\Programmi\IBM\IBM Rapid Restore Ultra\>
^done
(gdb)
<-gdb-set env SESSIONNAME=Console>
^done
(gdb)
<-gdb-set env SonicCentral=c:\Programmi\File comuni\Sonic Shared\Sonic Central\>
^done
(gdb)
<-gdb-set env SystemDrive=C:>
^done
(gdb)
<-gdb-set env SystemRoot=C:\WINDOWS>
^done
(gdb)
<-gdb-set env TCL_LIBRARY=C:\IBMTOOLS\Python22\tcl\tcl8.4>
^done
(gdb)
<-gdb-set env TEMP=C:\DOCUME~1\omissisWhoIam\IMPOST~1\Temp>
^done
(gdb)
<-gdb-set env TK_LIBRARY=C:\IBMTOOLS\Python22\tcl\tk8.4>
^done
(gdb)
<-gdb-set env TMP=C:\DOCUME~1\omissisWhoIam\IMPOST~1\Temp>
^done
(gdb)
<-gdb-set env TPATH=C:\PROGRA~1\EUROTH~1\LINtools\libs>
^done
(gdb)
<-gdb-set env USERDNSDOMAIN=omissis.IT>
^done
(gdb)
<-gdb-set env USERDOMAIN=omissis-IT>
^done
(gdb)
<-gdb-set env USERNAME=omissisWhoIam>
^done
(gdb)
<-gdb-set env USERPROFILE=C:\Documents and Settings\omissisWhoIam>
^done
(gdb)
<-gdb-set env windir=C:\WINDOWS>
^done
(gdb)
<-file-exec-and-symbols "C:/Documents and Settings/omissisWhoIam/Documenti/Progetti/ISOstrum/ISOstrum.exe">
^done
(gdb)
<-environment-cd "C:/Documents and Settings/omissisWhoIam/Documenti/Progetti/ISOstrum/">
^done
(gdb)
<-data-evaluate-expression FPC_THREADVAR_RELOCATE_PROC>
^done,value="<incomplete type>"
(gdb)
<-gdb-set language pascal>
^done
(gdb)
<info address main>
&"info address main\n"
~"Symbol \"main\" is a function at address $401030.\n"
^done
(gdb)
<-break-insert -t *4198448>
^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="$00401030",func="main",file="Strum.lpr",line="13",times="0"}
(gdb)
<-break-insert FPC_RAISEEXCEPTION>
^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="$00511f06",at="<fpc_raiseexception+6>",times="0"}
(gdb)
<-break-insert FPC_BREAK_ERROR>
^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="$00518bc6",at="<HANDLEERRORADDRFRAME+6>",times="0"}
(gdb)
<-break-insert FPC_RUNERROR>
^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="$00518b66",at="<RUNERROR+6>",times="0"}
(gdb)
<info file>
&"info file\n"
~"Symbols from \"C:/Documents and Settings/omissisWhoIam/Documenti/Progetti/ISOstrum/ISOstrum.exe\".\n"
~"Local exec file:\n"
~"\t`C:/Documents and Settings/omissisWhoIam/Documenti/Progetti/ISOstrum/ISOstrum.exe', \n"
~" file type pei-i386.\n"
~"\tEntry point: $401012\n"
~"\t$00401000 - $0058db00 is .text\n"
~"\t$0058e000 - $0064d110 is .data\n"
~"\t$0064e000 - $00662288 is .bss\n"
~"\t$00663000 - $00666042 is .idata\n"
^done
(gdb)
<-exec-run>
^running
(gdb)
*stopped,thread-id="1",frame={addr="$00401030",func="main",args=[],file="Strum.lpr",line="13"}
(gdb)
<info program>
&"info program\n"
~"\tUsing the running image of child thread 2424.0x118.\n"
~"Program stopped at $401030.\n"
~"It stopped at a breakpoint that has since been deleted.\n"
~"Type \"info stack\" or \"info registers\" for more information.\n"
^done
(gdb)
<-exec-continue>
^running
(gdb)
BFD: C:\WINDOWS\system32\wmvcore.dll (.reloc): Section flag IMAGE_SCN_MEM_NOT_PAGED (0x8000000) ignored