64 bit dll debugging on windows does not work lazarus / 12-Debugger ---------------------------------------------------------------------- davet · 2023-04-28 20:42 I created a download and stored it on my company's website. http://allendatagraph.com/xfer/lazarusdlldebug.zip (note edge will not download.  chrome works) about 7 mb as the readme.doc describes: break points set in dll do not work some globals are missing from watch This seems to work ok when compiled on raspberry pi 64 bit I guess I will have to buy embarcadero if can't find a solution. Davet ---------------------------------------------------------------------- Martin_fr · 2023-04-28 20:45 Wich version of Lazarus? I know it does not work under 2.2.6. I just tested with 2.3 => works (99%-ish) - breakpoint work in library and project - When in the library, vars from the lib work However, when in the lib, vars (even globals) from the project don't show in watches. And vice versa. Also The library does not show blue dots yet. Mainly a visual issue, but also if you edit the library while debugging, the editor want keep track where the original lines are. In 2.2.6 you can try and use the gdb based debugger. Might work, kinda... (not tested in a while) ---------------------------------------------------------------------- davet · 2023-05-01 14:55 information you asked for is in the downloaded file. downloaded latest version.  It does not work at all. ---------------------------------------------------------------------- Martin_fr · 2023-05-01 15:40 Quote from: davet on May 01, 2023, 04:55:02 pminformation you asked for is in the downloaded file. downloaded latest version.  It does not work at all. Latest released version is 2.2.6 => Yes, does NOT work. Next release (maybe summer 2023) will be 2.4 => Will work Lazarus 2.3 works too. But only available from GIT (Gitlab). Or use "FpcUpDeluxe", and select "trunk" or "2.3" Witch current Lazarus 2.2.6 Go to MENU:  Tools > Options > Debugger > Debugger Backend Select "GNU Debugger (GDB)" works. ---------------------------------------------------------------------- davet · 2023-05-02 14:19 installed 2.3 lazarus and was able to set a breakpoint and see variables while in dll