reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
#include <stdio.h>

int
main()
{
  int test_var = 10;
  printf ("Set a breakpoint here: %d.\n", test_var);
  //% test_var = self.frame().FindVariable("test_var")
  //% test_value = test_var.GetValueAsUnsigned()
  //% self.assertTrue(test_var.GetError().Success(), "Failed to fetch test_var")
  //% self.assertEqual(test_value, 10, "Failed to get the right value for test_var")
  return 0;
}