forked from lthn/blockchain
windown callstack enabled for Zano app as well as for daemon
This commit is contained in:
parent
d6e8ecb86f
commit
ffa1d9ea55
2 changed files with 4 additions and 1 deletions
|
|
@ -109,6 +109,7 @@ int main(int argc, char* argv[])
|
|||
std::fflush(nullptr); // all open output streams are flushed
|
||||
});
|
||||
|
||||
// setup custom callstack retrieving function
|
||||
epee::misc_utils::get_callstack(tools::get_callstack);
|
||||
|
||||
po::options_description desc_cmd_only("Command line options");
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#include "core_fast_rpc_proxy.h"
|
||||
#include "string_coding.h"
|
||||
#include "currency_core/core_tools.h"
|
||||
//#include <codecvt>
|
||||
#include "common/callstack_helper.h"
|
||||
|
||||
#define GET_WALLET_OPT_BY_ID(wallet_id, name) \
|
||||
CRITICAL_REGION_LOCAL(m_wallets_lock); \
|
||||
|
|
@ -85,6 +85,8 @@ bool daemon_backend::init(int argc, char* argv[], view::i_view* pview_handler)
|
|||
std::fflush(nullptr); // all open output streams are flushed
|
||||
});
|
||||
|
||||
// setup custom callstack retrieving function
|
||||
epee::misc_utils::get_callstack(tools::get_callstack);
|
||||
|
||||
//#if !defined(NDEBUG)
|
||||
// log_space::log_singletone::add_logger(LOGGER_DEBUGGER, nullptr, nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue