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,031
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++
3,972 questions