DelphiUdIT 176 Posted September 7, 2020 Hallo to all, since 10.4 (and 10.4.1) debugging c++ DLL for x64 Windows S.O. is impossible (for me of course). ALL THE PROJECTS ARE COMPILED FOR X64. If I launch standard debug from Delphi project, the DLL source code (made in c++) is ignored and no breakpoints are used in the DLL. If I launch LLDB debug from c++ DLL (setting the correct host of course), an error like this Quote test.exe doesn't contain any 'host' platform architectures: i686, x86_64, i386 is generated and the app doesn't start. If you launch the app with or without Delphi debugger all is working. Same situation with remote debugger (via "old style debugger" or paserver). Before LLVM all is working and i can debug DLL c++ code. I miss something or do something wrong ? Attached is a very simple project group to test. Thanks for your attention. Test.zip Share this post Link to post
bdw_nz20 11 Posted September 9, 2020 (edited) Yep I believe its a bug in 10.4.1, debug not available for DLL at all. I tested in 10.1.2 and it works without issue, you can step into the DLL code no problem. I'd say a Quality portal entry will be required. I think a friend struck this issue in 10.4 and maybe 10.3.X just a bit of a blur as these issues seem to happen so often for C++ and EMB quality. Edited September 9, 2020 by bdw_nz20 Share this post Link to post
bdw_nz20 11 Posted September 9, 2020 If you file a QP probably worth noting the RSP in a follow up post so people can track this issue. Share this post Link to post
DelphiUdIT 176 Posted September 9, 2020 3 minutes ago, bdw_nz20 said: Yep I believe its a bug in 10.4.1, debug not available for DLL at all. LOL … That is really strange: hoping that it's only my problem. 5 minutes ago, bdw_nz20 said: If you file a QP probably worth noting the RSP in a follow up post so people can track this issue I will insert a ISSUE in QP as soon as possible. Share this post Link to post
DelphiUdIT 176 Posted September 9, 2020 Reported, https://quality.embarcadero.com/browse/RSP-30893 1 Share this post Link to post