In my VS2022 I can step into MFC functions without a problem. I have set the VS2022 debugging options to use the Microsoft symbol server and load symbols for all modules.
Debugging in MFC code
Flaviu_
1,091
Reputation points
I have the following code:
CDBVariant var;
std::unique_ptr<CRecordset> recordset = ... initialized
recordset->GetFieldValue(i, var);
And I got an error:
I want to explore what is happen in CRecordset::GetFieldValue method, using debugging step by step: F10. But I cannot reach MFC CRecordset::GetFieldValue code at all, with or without this option checked:
The question is: how can do the debugging inside MFC code? I am using VS2022 on a MFC MDI app.
Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Answer accepted by question author