{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3325","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3325/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3325/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3325/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/3325","id":93490981,"number":3325,"title":"debug: add DEBUG_EXTRA_STACKSIZE define","user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/core","name":"core","color":"0052cc"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/enhancement","name":"enhancement","color":"f17070"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Ready%20for%20CI%20build","name":"Ready for CI build","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"gebart","id":317506,"avatar_url":"https://avatars.githubusercontent.com/u/317506?v=3","gravatar_id":"","url":"https://api.github.com/users/gebart","html_url":"https://github.com/gebart","followers_url":"https://api.github.com/users/gebart/followers","following_url":"https://api.github.com/users/gebart/following{/other_user}","gists_url":"https://api.github.com/users/gebart/gists{/gist_id}","starred_url":"https://api.github.com/users/gebart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebart/subscriptions","organizations_url":"https://api.github.com/users/gebart/orgs","repos_url":"https://api.github.com/users/gebart/repos","events_url":"https://api.github.com/users/gebart/events{/privacy}","received_events_url":"https://api.github.com/users/gebart/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-07T09:55:34Z","updated_at":"2015-07-07T10:35:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3325","html_url":"https://github.com/RIOT-OS/RIOT/pull/3325","diff_url":"https://github.com/RIOT-OS/RIOT/pull/3325.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/3325.patch"},"body":"When once more doing something like\r\n\r\n```\r\n#if ENABLE_DEBUG\r\nstatic char stack[STACKSIZE + THREAD_EXTRA_STACKSIZE_PRINTF];\r\n#else\r\nstatic char stack[STACKSIZE];\r\n#endif\r\n```\r\n\r\nI thought, why not put it in debug.h?\r\nWith this change, it is possible to always do\r\n```\r\nstatic char stack[STACKSIZE + DEBUG_EXTRA_STACKSIZE];\r\n```\r\n\r\nand the right thing will happen."},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/119164288","html_url":"https://github.com/RIOT-OS/RIOT/pull/3325#issuecomment-119164288","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3325","id":119164288,"user":{"login":"gebart","id":317506,"avatar_url":"https://avatars.githubusercontent.com/u/317506?v=3","gravatar_id":"","url":"https://api.github.com/users/gebart","html_url":"https://github.com/gebart","followers_url":"https://api.github.com/users/gebart/followers","following_url":"https://api.github.com/users/gebart/following{/other_user}","gists_url":"https://api.github.com/users/gebart/gists{/gist_id}","starred_url":"https://api.github.com/users/gebart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebart/subscriptions","organizations_url":"https://api.github.com/users/gebart/orgs","repos_url":"https://api.github.com/users/gebart/repos","events_url":"https://api.github.com/users/gebart/events{/privacy}","received_events_url":"https://api.github.com/users/gebart/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T10:35:49Z","updated_at":"2015-07-07T10:35:49Z","body":"Looks good. second ACK"}}