![]() ![]() It seems like trigger requires more complex code.įunction DoConvertWebAPIResponse ( aWebAPIResponse : TJSONValue ) : T Īlso shows the same behavior. I have tried to simulate part of your problematic code and it works fine in 10.3.3 for me. However, I could not create small reproducible test case. Procedure DoExtractAttributes ( const aAttributesArray : TArray var aHttpMethodType, aHttpMethodRoute : String ) function DoBuildURI ( const aMethodName : String const aParams : Array of TValue ) : String function DoConvertWebAPIResponse ( aWebAPIResponse : TJSONValue ) : T protected function DoInvoke ( const aMethodName : String const aParams : Array of TValue ) : T public constructor Create End īut I have been seeing such issues in all Rio versions. TWebAPIClientConnector = Class ( TInterfacedObject ) privateįConnector : I function ConvertToString ( const aValue : TValue ) : String Have you seen such behavior before? Do I have to try reinstalling 10.3.3 or should I go back to 10.3.2 and wait for 10.4? I changed the declaration of DoInvoke fromįunction DoInvoke( const aMethodName : String const aParams : Array of TValue) : T įunction DoInvoke( const aMethodName : String const aParams : Array of TValue) : String Īnd now the debugger sees the method. The application seems to be working fine. I cleared, build and compiled my project against 10.3.3 under VCL Win32, VCL Win64, FMX Win32, FMX Win64 and in a new dproj (Those pictures are from a brand new project using the same units). There are other parts in my application with the same behavior. We can clearly see that DoInvoke is called.Īnd the fourth picture is terrifying: In the Call Stack windows, I double click the DoInvoke and a line from DoBuildURI is highlighted! (Remember that blue dotted "end" from picture 2).ĭoInvoke is compiled and called but is undebuggable. (Under 10.3.2 they are.) But notice that there's still a blue dot in DoBuildURI (That's the entry point of DoInvoke!!!!). ![]() If I comment out DoBuildURI, the expected behaviour is to remove all the lines from DoBuildURI as it is called only from DoInvoke. Well, DoBuildURI is called from DoInvoke (See picture 2 when I comment out DoBuildURI). Notice the method "DoInvoke" with an invalid break point ( It is perfectly valid under 10.3.2). The first picture is what caught my attention. I took some pictures to help with the context. By chance I spotted some strange things with the debugger. I just upgraded to 10.3.3 and start compiling my applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |