VTK  9.1.20211024
vtkBreakPoint.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBreakPoint.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
36 #ifndef vtkBreakPoint_h
37 #define vtkBreakPoint_h
38 
39 #include "vtkCommonCoreModule.h" // For export macro
40 #include "vtkObject.h" // to get VTKCOMMONCORE_EXPORT
41 
42 class VTKCOMMONCORE_EXPORT vtkBreakPoint
43 {
44 public:
46 
50  static void Break();
52 };
53 
54 #endif // #ifndef vtkBreakPoint_h
55 // VTK-HeaderTest-Exclude: vtkBreakPoint.h
Utility function to debug with gdb and MPI.
Definition: vtkBreakPoint.h:43
static void Break()
Process fall asleep until local variable ā€˜iā€™ is set to a value different from 0 inside a debugger.