Questions tagged [debugging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
46 views

Wallet from 2011

dat in an old hard drive but it seems like its overwrited with some windows sh**. Is there any way to recover it or recover other data from the other files like debug.log or db, or addr?
0
votes
0answers
32 views

Debugging does not work after v0.21 tag

If I clone Bitcoin Core from the repository and switch to version v0.21 (git checkout tags/v0.21.0), the debugging (gdb src/qt/bitcoin-qt or gdb src/bitcoind) will work as expected. But If I clone the ...
1
vote
1answer
45 views

What do these memory configurations in debug.log of BitCoin Core represent?

In the debug.log file of BitCoin Core, the cache configuration is described as follows. Cache configuration: Using 2.0 MiB for block index database Using 8.0 MiB for chain state database Using ...
1
vote
1answer
89 views

What possible explanation could there be that Bitcoin Core on Linux Mint claims to but does not save the wallet backups?

Linux Mint. Bitcoin Core 0.21.0. I go to "File" and "Backup wallet", then select any location. I've tried with /home/a and /tmp and others. Every time, Bitcoin Core says that the ...
0
votes
1answer
56 views

How do I debug Taproot functional tests using pdb?

I am looking at the some of the Taproot functional tests such as feature_taproot.py to review the open Taproot PR. I would like to use pdb to debug these tests. Can you provide some guidance on how to ...
2
votes
1answer
138 views

What is Valgrind? When should I use it for debugging Bitcoin Core over using gdb, lldb, pdb etc?

I was watching Fabian Jahr's presentation on debugging Bitcoin Core at Bitcoin Edge Dev++ 2019. He mentioned Valgrind briefly at the end. What is it and when should I use it over gdb, lldb, pdb etc?
6
votes
2answers
264 views

How do I get started debugging Bitcoin Core functional tests?

I would like to get started with debugging Bitcoin Core code. I have heard debugging Bitcoin Core functional tests is a good place to start as they are in Python rather than C++ and they are easier to ...
1
vote
2answers
266 views

Debugging Bitcoin Core with gdb - how to turn off compiler optimizations

I ran the configure script with the --enable-debug flag, then ran make. I am running unit tests: gdb --args src/test/test_bitcoin --log_level=all --run_test=script_standard_tests I'm trying to step ...
1
vote
1answer
264 views

bitcoin debug withe clion

I got this error when I have tried to compile on lubuntu 16.04 34: error: expected ‘)’ before ‘host_16bits’ inline uint16_t htole16(uint16_t host_16bits) using clion, is there any guide on how to ...
0
votes
1answer
281 views

Debugging Bitcoin Unit Tests

I am running the unit tests from bitcoin source using make check, and would like to debug the tests using LogPrint in the bitcoin source files. I read in the Test Docs that logs are only output to ...
4
votes
1answer
2k views

What are the debug categories?

In the bitcoin configuration you can set debug logging for the following categories. I can't seem to find an explanation of what each of these categories does. Can someone explain them or point me in ...
1
vote
1answer
996 views

How to debug bitcoin core in “real time”

I am new to bitcoin core and C++ I downloaded already the project from: https://github.com/bitcoin/bitcoin and run "makefile" command. Now I can make all transaction against the blockchain. I want ...
3
votes
2answers
2k views

What IDE to use for Bitcoin development?

I want to experiment with Bitcoin's code (both Core and Unlimited, if it makes a difference). I really wanted to use CLion, but was unable to compile it and make it work (something to do with using a ...
3
votes
2answers
1k views

Debugging bitcoind

How do you attach a gdb to a bitcoind daemon. I wish to step through the functions. Here is what i have tried. gdb --args bitcoind -regtest -daemon This however exists when the daemon starts. So i ...