Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Side by Side Diff: runtime/vm/debugger_api_impl_test.cc

Issue 137003006: Make safe points in generated code invisible to the debugger (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "include/dart_debugger_api.h" 5 #include "include/dart_debugger_api.h"
6 #include "include/dart_mirrors_api.h" 6 #include "include/dart_mirrors_api.h"
7 #include "platform/assert.h" 7 #include "platform/assert.h"
8 #include "vm/dart_api_impl.h" 8 #include "vm/dart_api_impl.h"
9 #include "vm/thread.h" 9 #include "vm/thread.h"
10 #include "vm/unit_test.h" 10 #include "vm/unit_test.h"
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 int64_t int_value = ToInt64(retval); 645 int64_t int_value = ToInt64(retval);
646 EXPECT_EQ(2, int_value); 646 EXPECT_EQ(2, int_value);
647 EXPECT(breakpoint_hit == true); 647 EXPECT(breakpoint_hit == true);
648 } 648 }
649 649
650 static const char* step_into_expected_bpts[] = { 650 static const char* step_into_expected_bpts[] = {
651 "main", 651 "main",
652 "foo", 652 "foo",
653 "f1", 653 "f1",
654 "foo", 654 "foo",
655 "X.X.",
656 "X.X.",
657 "foo", 655 "foo",
658 "X.kvmk", 656 "X.kvmk",
659 "f2", 657 "f2",
660 "X.kvmk", 658 "X.kvmk",
661 "X.kvmk", 659 "X.kvmk",
662 "foo", 660 "foo",
663 "main" 661 "main"
664 }; 662 };
665 663
666 void TestStepIntoHandler(Dart_IsolateId isolate_id, 664 void TestStepIntoHandler(Dart_IsolateId isolate_id,
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after
2063 2061
2064 Dart_Handle list_type = Dart_InstanceGetType(list_access_test_obj); 2062 Dart_Handle list_type = Dart_InstanceGetType(list_access_test_obj);
2065 Dart_Handle super_type = Dart_GetSupertype(list_type); 2063 Dart_Handle super_type = Dart_GetSupertype(list_type);
2066 EXPECT(!Dart_IsError(super_type)); 2064 EXPECT(!Dart_IsError(super_type));
2067 super_type = Dart_GetSupertype(super_type); 2065 super_type = Dart_GetSupertype(super_type);
2068 EXPECT(!Dart_IsError(super_type)); 2066 EXPECT(!Dart_IsError(super_type));
2069 EXPECT(super_type == Dart_Null()); 2067 EXPECT(super_type == Dart_Null());
2070 } 2068 }
2071 2069
2072 } // namespace dart 2070 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698