Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > System generation for simulation - C, C++ and Java code > System simulation > Working with breakpoints (C++ code applications only) > Enabling the use of breakpoints (system simulation)
  
Enabling the use of breakpoints (system simulation)
When breakpoints are enabled, Modeler suspends the simulation when an enabled breakpoint is hit.
When breakpoints are disabled, the simulation ignores all breakpoints, irrespective of whether the individual breakpoints are enabled or disabled.
You can use breakpoints only when simulating a C++ code or Java application, and only when the C++ or Java Profile must be present in the model.
To enable the use of breakpoints:
On the State Simulation toolbar, select the Enable/Disable Breakpoints button.
Enable/Disable Breakpoints button when breakpoints are enabled.
To disable the use of breakpoints:
On the State Simulation toolbar, deselect the Enable/Disable Breakpoints button.
Enable/Disable Breakpoints button when breakpoints are disabled.