{"id":5336,"date":"2014-03-30T20:51:01","date_gmt":"2014-03-30T20:51:01","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/setting-a-breakpoint-but-breakpoint-not-hit-collection-of-common-programming-errors\/"},"modified":"2014-03-30T20:51:01","modified_gmt":"2014-03-30T20:51:01","slug":"setting-a-breakpoint-but-breakpoint-not-hit-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/setting-a-breakpoint-but-breakpoint-not-hit-collection-of-common-programming-errors\/","title":{"rendered":"Setting a breakpoint, but breakpoint not hit-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;ve built Chromium locally, and I&#8217;m trying to debug it with GDB. For some reason, certain breakpoints do not seem to hit. For example, when I do<\/p>\n<pre><code>b InjectedScriptBase::makeEvalCall\n<\/code><\/pre>\n<p>GDB prompts<\/p>\n<pre><code>Make breakpoint pending on future shared library load? (y or [n]) y\nBreakpoint 1 (InjectedScriptBase::makeEvalCall) pending.\n<\/code><\/pre>\n<p>but when the relevant code is triggered, the breakpoint is not hit.<\/p>\n<p>What am I doing wrong? I&#8217;m currently assuming that the relevant symbols are loaded at run-time, but should I load them separately?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve built Chromium locally, and I&#8217;m trying to debug it with GDB. For some reason, certain breakpoints do not seem to hit. For example, when I do b InjectedScriptBase::makeEvalCall GDB prompts Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (InjectedScriptBase::makeEvalCall) pending. but when the relevant code is triggered, the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5336","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5336"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5336\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}