Debugging Breakpoints in Visual Studio #44
Replies: 5 comments
-
|
I am trying to make some changes in software in order to solve " Starting OBD-II emulator failed. " |
Beta Was this translation helpful? Give feedback.
-
This is wage! What type of error do you mean by I encounter an error during execution.? Can you specify more? Usually breakpoints are not the issue, unless you put them in the places that they may cause a timeout.
OBD emulator is an in-house dependency of the project. To debug that, be sure that it build also in debug mode (the source code can be found from here). Besides that, you've mentioned that you are debugging in Visual Studio. If you are running the project on a Windows machine, be aware that the OBD emulator relies on a POSIX-based serial communication which is NOT supported on Windows. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Regarding the posted image, the message box itself does not say much. You need to check the actual error(s) by clicking on Show Errors button. At least based on the terminal output (visible from the image), it seems the g++ build failed due to no linkage to the pugi XML library and also the
CMake in this project uses |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for taking the time to respond to my queries. I truly appreciate your help. I will put in some effort to explore further and will reach out to you again with more insightful discussions. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I am currently working on debugging the code in Visual Studio and setting breakpoints. For single-file projects, I am able to set the breakpoints and run the code without issues. However, when I try to set a breakpoint in main.cpp for our Adaptive AUTOSAR Linux Simulator project, I encounter an error during execution.
I suspect that this may be related to a potential linkage issue. Would you be able to assist me with this? Any suggestions or guidance would be greatly appreciated.
Thank you in advance for your help. I look forward to your response.
Beta Was this translation helpful? Give feedback.
All reactions