#1 2022-06-17 02:57:44

bigheart
Member
Registered: 2014-08-01
Posts: 45

Cann not debug into JsonDataProp function

Hello,

I have tested JsonToObject() in mormot2.

But i was not able to step into the JsonDataProp() in mormot.core.json using Delphi XE5 IDE debugger.

https://github.com/kuksundo/dev/blob/ma … onData.PNG

How can i add a break-point in this JsonDataProp() function?
And why debugging is not avalilable only this function?

Please give me some advise.

Thanks in advance.

Last edited by bigheart (2022-06-17 03:22:54)

Offline

#2 2022-06-17 06:27:49

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,316
Website

Re: Cann not debug into JsonDataProp function

Because the function was inlined by the compiler.

So you have to step into the asm, or to disable the "inline;" keyword and then you would be able to do what you expect.

Offline

Board footer

Powered by FluxBB