Add more useful trace back info when got invalid arguments by calling functions
Merge pull request #9224 from pjc0247/v3

fix C4129 warning
Merge pull request #9327 from samuele3hu/v3_manual_bindings

Add more useful trace back info when got invalid arguments by calling functions