Bitcoin Forum
September 25, 2018, 02:18:53 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Debugging Bitcoin/Litecoin on QT Creator? Is this possible?  (Read 61 times)
Miner1969
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.
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537885133
Hero Member
*
Offline Offline

Posts: 1537885133

View Profile Personal Message (Offline)

Ignore
1537885133
Reply with quote  #2

1537885133
Report to moderator
1537885133
Hero Member
*
Offline Offline

Posts: 1537885133

View Profile Personal Message (Offline)

Ignore
1537885133
Reply with quote  #2

1537885133
Report to moderator
1537885133
Hero Member
*
Offline Offline

Posts: 1537885133

View Profile Personal Message (Offline)

Ignore
1537885133
Reply with quote  #2

1537885133
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1656


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


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: 251

Property1of1OU


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

do they have a proper gcc compiler?

Patent1number: ****-****
Miner1969
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!