First of all, hello everyone.
I need your help about a problem in my project; debugging a dll unit, is broken.
In fact, I have been debugging many times before nowamdays. I was amazed to see how well
it was working. But it was broken later on. I always upgrade IDE and now it's the latest.
I think, it is caused by changing the IDE or changing project preferences, but no idea...
I removed the latest Lazarus IDE and replaced with its old copies to catch the problem.
I compiled and tested my old versions with old IDE versions and different preferences.
Although I tried all combinations, I could not find the reason. Unfortunately, no way.
The dll project and main project were always compiled with the same Lazarus IDE copy.
The main calls: "DynLibs.LoadLibrary(), DynLibs.GetProcedureAddress(), DynLibs.TLibHandle".
Then I put many breakpoints onto the "ALibName" unit codes. Just after the LoadLibrary(),
main code calls a method from the dll by an ALibHandle code line. However, it doesn't stop
on any breakpoint anymore. Please inform me for the solution. Thanks.
Now Lazarus IDE is 2.2.6 Win32 on Windows10 64bit.