did you catch that after I pulled on older version of the program off of a usb drive and restarted lazarus, the debuggerr is now working properly...
Ok, if the older version works, then it is not an IDE setting.
Yet to know what we are dealing with it would be good to know which "debugger backend" you are using. It should be FpDebug. Please check that, and let me know.
In that case I suggest to compare the 2 lpi files (and maybe the lps files too.
In the project options, you would have by now checked the settings
- Project Options > Debugger (in the upper half of the tree)
- Compiler Options > Debugging (in the lower half)
Enabled and chosen DWARF
NO "strip symbols"
NO "external symbols"
"Run uses debugger"
- "Compilation and Linking"
Optimization off or 1
Check the page "Custom options". Report if there are any.
Check the page "Linking"
NO "smart linking"
Feel free to attach your lpi and lps file, then I can check through the settings for you.
run lazarus with the following command line (create a shortcut, and edit the properties of the short cut)
Change the name of the logfile as you like
--debug-log=c:\lazarus\logfile.txt -dDBG_VERBOSE -dDBG_WARNINGS -dDBG_ERRORS -dDBG_VERBOSE_BRKPOINT -dDBG_STATE -dDBG_EVENTS -dDBG_COMMAND_ECHO -dDBG_DATA_MONITORS -dDBG_LOCATION_INFO -dDBG_BREAKPOINTS -dDBGMI_QUEUE_DEBUG -dDBGMI_WITH_DISASS_OVERFLOW -dDBG_WITH_DEBUGGER_DEBUG -dDBGMI_TYPE_INFO -dDBG_FPDEBUG_VERBOSE -dFPDBG_BREAKPOINT_ERRORS -dFPDBG_BREAKPOINTS -dFPDBG_COMMANDS -dFPDBG_THREADS -dFPDBG_QUEUE
Submit the logfile please.
There is a file
C:\lazarus\fpc\3.2.2\bin\x86_64-win64\objdump.exe
When you compiled your project run
C:\lazarus\fpc\3.2.2\bin\x86_64-win64\objdump.exe -h yourproject.exe > headers.txt
C:\lazarus\fpc\3.2.2\bin\x86_64-win64\objdump.exe --dwarf=info yourproject.exe > dwarf.txt
Submit the 2 files
The 2nd file contains names of your procedures and variables. You may want to mail it in private if you do not want this to be public.
lazarus #a#t# mfriebe #.# de
Germany