stack-unwinding
Scope unwinding in PHP class constructors
I\'m learning PHP classes and exceptions, and, coming from a C++ background, the following strikes me as odd:[详细]
2023-04-06 08:55 分类:问答mips _Unwind_Backtrace on SIGSEGV
On a mips platform, I am trying to get Unwind work. Currently if I issue print_trace manually stack trace is correctly shown as below:[详细]
2023-03-11 03:10 分类:问答How to get fullstacktrace using _Unwind_Backtrace on SIGSEGV
I handle SIGSEGV by code: int C() { int *i = NULL; *i = 10; // Crash there } int B() { return C(); } int A() { return B();[详细]
2023-03-10 13:37 分类:问答stack unwinding in dwarf2
I don\'t understand that how the stack unwinding in dwarf2 ensures reliable recovery of arguments in some very basic ABI(Application Binary Interface) scenarios. Consider a ABI, which says that the fi[详细]
2023-02-15 16:30 分类:问答throwing a boost::shared_ptr< customException>
is there any pitfall of the f开发者_如何学Pythonollowing; if (someCondition) throw boost::shared_ptr<SomeException>( new SomeException( \"foo!\" ) );[详细]
2023-02-15 13:20 分类:问答Getting value of stack pointer while stack unwinding with dwarf2
In DWARF2 debugging format, stack unwinding is supported with the help of CFI(Call Frame Inform开发者_运维知识库ation) present in .debug_frame section. This is precisely a table that keeps a rule for[详细]
2023-02-11 15:49 分类:问答How to unwind (multi-level return) the stack without catch/try/raise?
I would like to unwind the stack to an arbitrary level when catch/try is not available (i.e., the code to which I\'m unwinding is out of my control). Is this possible?[详细]
2023-02-10 09:45 分类:问答Stack unwinding in C++ when using Lua
I recently stumbled into this this C++/Lua error int function_for_lua( lua_State* L ) { std::string s(\"Trouble coming!\");[详细]
2023-01-22 05:06 分类:问答Is the stack unwound when you stop debugging?
Just curious if my destructors are being called. (Specifically for Visual Studio, when you hit the r开发者_开发百科ed stop button)No the process is terminated in VS2005, VS2008 and VS2010 when you pre[详细]
2022-12-30 03:51 分类:问答How is destroying local variables when a block is exited normally called in C++?
C++ automagically calls destructors of all local variables in the block in reverse order regardless of whether the block is exited normall开发者_开发百科y (control falls through) or an exception is th[详细]
2022-12-25 23:40 分类:问答