self.bkpt_string = '// Set breakpoint here'
self.breakpoint = line_number('main.cpp', self.bkpt_string)
- if "gcc" in self.getCompiler() or self.isIntelCompiler():
- self.step_out_destination = line_number(
- 'main.cpp', '// Expect to stop here after step-out (icc and gcc)')
- else:
- self.step_out_destination = line_number(
- 'main.cpp', '// Expect to stop here after step-out (clang)')
+ self.step_out_destination = line_number(
+ 'main.cpp', '// Expect to stop here after step-out.')
def step_out_single_thread_with_cmd(self):
self.step_out_with_cmd("this-thread")
pseudo_barrier_wait(g_barrier);
// Do something
- step_out_of_here(); // Expect to stop here after step-out (clang)
+ step_out_of_here();
// Return
- return NULL; // Expect to stop here after step-out (icc and gcc)
+ return NULL; // Expect to stop here after step-out.
}
int main ()