Answered by:
Not able to debug the C/C++ (native) ODBC driver code, while using Power query of Excel and Power BI

Question
-
I have written an SQLite ODBC Driver by leveraging open source. This code in c/c++ (native). Now, when I try to debug my driver code, with Excel using the legacy wizard (to fetch data), breakpoints always get hit. But whenever I tried to debug my code using power query, same code, same driver DLL, (cross-check DLL with the latest code, since breakpoint hit when going with the legacy wizard) breakpoint never hit. I looked into "Module" window of VS2017/2015. It doesn't show my driver DLL but still, data successfully get fetched. Same issue I am facing with Power BI.I don't understand without loading driver DLL how excel/power Bi is fetching data. Now, there is some defect I need to resolve, which is generating only if the user tries to fetch data using Power Query( Get data->from ODBC). Until I won't able to debug, I can't resolve the defect.
- Moved by Dave PatrickMVP Tuesday, February 6, 2018 1:39 PM
Tuesday, February 6, 2018 9:41 AM
Answers
-
I'd probably ask for help over here.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsdebug
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP Tuesday, February 6, 2018 2:07 PM
- Marked as answer by Richard MuellerMVP Tuesday, February 13, 2018 11:32 AM
Tuesday, February 6, 2018 1:46 PM
All replies
-
I'd probably ask for help over here.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsdebug
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP Tuesday, February 6, 2018 2:07 PM
- Marked as answer by Richard MuellerMVP Tuesday, February 13, 2018 11:32 AM
Tuesday, February 6, 2018 1:46 PM -
Thanks Dave
I will surely ask my question at MSDN forum.
I have already tried with power Bi community but did not get the answer which can resolve my problem.
Thursday, February 8, 2018 5:25 AM -
Sounds good, you're welcome.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.Thursday, February 8, 2018 5:28 AM