| Index: runtime/vm/exceptions.cc
|
| ===================================================================
|
| --- runtime/vm/exceptions.cc (revision 9677)
|
| +++ runtime/vm/exceptions.cc (working copy)
|
| @@ -13,7 +13,7 @@
|
|
|
| namespace dart {
|
|
|
| -DEFINE_FLAG(bool, print_stack_trace_at_throw, false,
|
| +DEFINE_FLAG(bool, print_stacktrace_at_throw, false,
|
| "Prints a stack trace everytime a throw occurs.");
|
|
|
|
|
| @@ -153,7 +153,7 @@
|
| } else {
|
| stacktrace ^= existing_stacktrace.raw();
|
| }
|
| - if (FLAG_print_stack_trace_at_throw) {
|
| + if (FLAG_print_stacktrace_at_throw) {
|
| OS::Print("Exception '%s' thrown:\n", exception.ToCString());
|
| OS::Print("%s\n", stacktrace.ToCString());
|
| }
|
| @@ -284,7 +284,7 @@
|
|
|
| // Type errors in the core library may be difficult to diagnose.
|
| // Print type error information before throwing the error when debugging.
|
| - if (FLAG_print_stack_trace_at_throw) {
|
| + if (FLAG_print_stacktrace_at_throw) {
|
| if (!malformed_error.IsNull()) {
|
| OS::Print("%s\n", malformed_error.ToCString());
|
| }
|
|
|