This repository demonstrates a bug related to breakpoints in the MIEngine.
This project showcases a specific bug encountered when using breakpoints in the MIEngine, a component used for debugging in Visual Studio.
- Clone the repository:
git clone https://github.com/yourusername/MIEngine-breakpoint-bug-example.git
- Open the project in Visual Studio.
- Set up the environment to build and debug the project using the Visual Studio Code MinGW setup guide.
- Generate the
.vscode
directory for each project. In each.vscode
directory there should be a launch.json, a tasks.json and a settings.json. Examples of each file can be found in the repo. - Build each project.
- Launch a heterogeneous debug session using the provided launch configurations (start with app1 then app2).
- Set a breakpoint in app1 main.cpp file.
- Observe the behavior when the breakpoint is hit.
- Use gdb command
-exec info b
in each projects debug console to observe that breakpoint is being set in each file
The breakpoint should only be set in the app1 main.cpp
The breakpoint is set in app1 main.cpp and app2 main.cpp