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

Unified Diff: base/debug_util_win.cc

Issue 18303: Add StackTrace debugging utility class. (Closed)
Patch Set: Addressing comments Created 11 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 side-by-side diff with in-line comments
Download patch
« base/debug_util_posix.cc ('K') | « base/debug_util_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug_util_win.cc
diff --git a/base/debug_util_win.cc b/base/debug_util_win.cc
index 906b71ee13246aa1ee09a0fc84d566715b9eede1..0ba267599a6b2219e4edef840e439d4fbca184e5 100644
--- a/base/debug_util_win.cc
+++ b/base/debug_util_win.cc
@@ -101,3 +101,16 @@ void DebugUtil::BreakDebugger() {
__debugbreak();
}
+// TODO(port): not implemented on Windows
+StackTrace::StackTrace() {
+}
+
+const void *const *StackTrace::Addresses(size_t* count) {
+ *count = 0;
+ return NULL;
+}
+
+void PrintBacktrace() {
+ fprintf(stderr, "<printing stacktraces not implemented>\n");
Evan Martin 2009/01/16 18:30:08 you don't need this anymore with the below
+ NOTIMPLEMENTED();
+}
« base/debug_util_posix.cc ('K') | « base/debug_util_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698