Bitcoin Forum
November 05, 2024, 03:33:41 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Debugging Bitcoin/Litecoin on QT Creator? Is this possible?  (Read 183 times)
Miner1969 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 23, 2017, 09:24:47 PM
 #1

I would of posted this on this thread but in their wisdom the mods have locked it (which IMO it shouldnt be as it a useful thread supporting older versions of BTC/LTC).
https://bitcointalk.org/index.php?topic=149479.0

Anyway Ive built various versions of Bitcoin up to the latest on Linux (Ubuntu) and Windows.
Ive also tried litecoin various version up to the latest (all version after 10 litecoin-qt crash on startup. Ive tried QT 4.87, 5.3.2, 5.5.1 all fail on V10, also ming 4.8.2 and 4.9.2. When i download the precompiled installer it works fine. This is an issue with QT as all the daemons run ok.
So im at a dead end at the moment as i want to run QT gui on a later version.
My question is is there a version that i can run up in QT Creator in debug mode after v10 using the latest make system so i can look at litecoin 10/bitcoin 10 and above?
So i can step around in the code and investigate my crash. Does QT Creator/debugger integrate with the configure/make setup that was created after v0.86.
I can debug up to v 0.86 (as they have a .pro file and i run using qmake, make and i can build it from creator etc).
Has bitcoin litecoin been written without any interactive debugging, im sure im missing something obvious, but how are the devs actually debugging the code, i dont see any documentation on how to set this up anywhere on all the bitcoin/litecoin or google.
Thanks in advance.
Miner1969.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3542
Merit: 6885


Just writing some code


View Profile WWW
December 23, 2017, 09:46:42 PM
 #2

The developers of Bitcoin Core (which Litecoin Core routinely rebases onto and thus instructions for recent versions of Core also apply to Litecoin) use the Linux command line and GDB to debug. Very few developers use an IDE or GUI for any sort of work. It is all mostly done with text editors and GDB from the command line.

Andre_Goldman
Sr. Member
****
Offline Offline

Activity: 322
Merit: 253

Property1of1OU


View Profile
December 23, 2017, 10:07:13 PM
 #3

do they have a proper gcc compiler?

Patent1number: ****-****
Miner1969 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 24, 2017, 12:32:23 PM
 #4

Are there any lists of what actual versions of QT compile and work on what OS / Compiler?
It seems like pot luck to me. And so far ive been unlucky.
I wouldnt mind if i could acually get a version of litecoin after 10 that ive compiled to actually run.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!