I changed the source code of bitcoin and I ran it. However, it gives the following error:
chainparams.cpp:140: CMainParams::CMainParams(): Assertion `hashGenesisBlock == uint256("0xxx")' failed.
Aborted (core dumped)
It also does not create .altcoin folder in home folder, so I cannot see debug.log. Why is this so?