Comments (9)
Which debug format did you use?
You should use Dwarf 2 or 3.
from mormot2.
I am not able to reproduce your issue on Win32 or Win64 with Dwarf 2 debug symbols, and the current version of mORMot.
from mormot2.
Retried with last mORMot sources.
from mormot2.
I am not able to reproduce.
Try to debug more on your side.
What is the stack trace?
Where is the exact location?
And don't use a LCL UI, try with a console app.
from mormot2.
Tried without LCL UI and it works. So somewhere LCL introduces something the debug parser doesn't like.
from mormot2.
Can you debug in -O0 or -O1 level to have a more precise stack trace?
Some LCL unit may have weird/unusual symbols which failed our dbg parser.
Also try in Dwarf 3 format to see if it changes something.
from mormot2.
With Dwarf3, -O0 and fpdebug backend, I can't debug in TDwarfReader.ParseCompilationUnits. With gdb, I can step to step in this function, but I can't watch any variables. The issue seems in files[prevfile], but I can't see for which unit.
mORMot2/src/core/mormot.core.log.pas
Line 2501 in 9aba441
Anyway in this if
mORMot2/src/core/mormot.core.log.pas
Line 2484 in 9aba441
and (prevfile <= (length(files) - 1)
and it works without exception. Can you please check it? Thanksfrom mormot2.
That is very informative information!
Please try c21ee776
from mormot2.
It works! Thank you very much!
from mormot2.
Related Issues (20)
- Tried to get ParentPID, but failed on mormot.core.os.windows.inc InternalGetProcessInfo() HOT 1
- Delphi7: [Fatal Error] mormot.core.data.pas(5801): Internal error: C13081 HOT 1
- Strange behavior of ReadLn. HOT 3
- Issue with `JsonToVariantDynArray` HOT 2
- Windows API Multiple defined symbols HOT 1
- "AutoFlushTimeOut" property does not work. HOT 4
- While compiling mormot.db.sql.ibx gives compile error on Delphi 12! HOT 2
- Compile issue with test/mormot2tests.dproj on current master branch HOT 3
- TSqlDBOleDBMSSQL2018ConnectionProperties should set fProviderName before calling SetInternalProperties HOT 1
- static-lib unit bug
- Circular Reference Issue in Project04InterfaceBasedServer.dproj in martin-doyle's example 04-InterfacedBasedServices HOT 4
- Exported package threadvar CurrentThreadName HOT 1
- AesNiEncrypt256 and others do not preserve xmm6-xmm15 HOT 2
- Would it be of interest to automated tests run on GitHub Actions? HOT 2
- Cannot compile in Delphi with a Linux 64 target HOT 4
- sqlite3.o: undefined reference to `fcntl64' HOT 4
- Exception in mormot.crypt.core.asmx64.inc._AesNiHashXmm0 HOT 2
- THttpServer - Process ClientSock don't capture RemotePort HOT 1
- THttpServerRequestAbstract - RemoteIP equals 127.0.0.1 HOT 1
- How to use synpdf to add latex or mathml to a PDF? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mormot2.