Forum > macOS / Mac OS X
Debugger will not run macos m1
vonskie:
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/wsdialogs.o" changed (actual: 0x654902a4, debug map: 0x6547413b) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/wschecklst.o" changed (actual: 0x654902a2, debug map: 0x65474139) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/wscalendar.o" changed (actual: 0x654902a7, debug map: 0x6547413e) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/cocoa/cocoatabcontrols.o" changed (actual: 0x654902b6, debug map: 0x6547414d) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/cocoa/cocoadatepicker.o" changed (actual: 0x654902b6, debug map: 0x6547414d) since this executable was linked, debug info will not be loaded
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) breakpoint set --func fpc_runerror -K false
Breakpoint 2: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) breakpoint set --func fpc_raiseexception -K false
Breakpoint 3: where = ELSIEasyCleaner`FPC_RAISEEXCEPTION, address = 0x00000001000182d0
(lldb) process launch -n
Process 3151 launched: '/Users/admin/Documents/MLD2 6 3/ELSIEasyCleaner.app/Contents/MacOS/ELSIEasyCleaner' (x86_64)
Martin_fr:
Unless you are trying to debug into the LCL the warnings can be ignored. Well, so long as no such warnings for the units in your project are given.
You may be able to get rid of those "changed" warnings by recompiling clean => that may mean to recompile the LCL via its package dialog.
I don't know (from memory) what it is trying to set as "breakpoint 1", but I think it is "fpc_break_error" => It is no problem if it is pending (It may affect if/how run errors are reported, but it does not affect if/how your app starts in the debugger).
So the last line from your log says that your app was launched. Then from that I can not see what the issue is? (Unless it is that all is fine, except you can't step into the LCL)
vonskie:
Getting this error how to resolve
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/cocoa/cocoawsdatepicker.o" changed (actual: 0x654902b6, debug map: 0x6547414e) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/wsspin.o" changed (actual: 0x654902ad, debug map: 0x65474144) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/wspairsplitter.o" changed (actual: 0x654902ac, debug map: 0x65474143) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/buttonpanel.o" changed (actual: 0x654902a4, debug map: 0x6547413b) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/lcltaskdialog.o" changed (actual: 0x654902a4, debug map: 0x6547413b) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/wsdialogs.o" changed (actual: 0x654902a4, debug map: 0x6547413b) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/wschecklst.o" changed (actual: 0x654902a2, debug map: 0x65474139) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/wscalendar.o" changed (actual: 0x654902a7, debug map: 0x6547413e) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/cocoa/cocoatabcontrols.o" changed (actual: 0x654902b6, debug map: 0x6547414d) since this executable was linked, debug info will not be loaded
error: ELSIEasyCleaner debug map object file "/Applications/Lazarus/lcl/units/x86_64-darwin/cocoa/cocoadatepicker.o" changed (actual: 0x654902b6, debug map: 0x6547414d) since this executable was linked, debug info will not be loaded
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) breakpoint set --func fpc_runerror -K false
Breakpoint 2: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) breakpoint set --func fpc_raiseexception -K false
Breakpoint 3: where = ELSIEasyCleaner`FPC_RAISEEXCEPTION, address = 0x00000001000182d0
(lldb) process launch -n
vonskie:
It runs but the debugger does not attach to it. (assuming)
I have it running at home just fine just not at work.
Not sure what is going on.
Martin_fr:
--- Quote from: vonskie on November 06, 2023, 05:30:26 pm ---It runs but the debugger does not attach to it. (assuming)
I have it running at home just fine just not at work.
Not sure what is going on.
--- End quote ---
Very important: Which version of Lazarus? And can you try with 3.0RC2?
So that means the app starts, but it does not stop at your breakpoint? Does the color/icon of the breakpoint change?
Please describe exactly what happens.
- You use F9?
- You have breakpoints?
- Your app starts
- You try to hit the pause button?
- You add breakpoints once the app is already running?
...
Please go to menu: View > Ide Internals > Debug Output
This will open a Window in the IDE.
Once that Window is open:
- start your app in the debugger
- do whatever else you try before the error happens (If anything)
when the error has happened, then please copy the entire content of that window (privacy note: this may contain identifier/source names from your app).
Navigation
[0] Message Index
[#] Next page