create account

RE: How to increase a productivity as a software developer - part I, LiveCoding by noisy

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @complexring/re-noisy-how-to-increase-a-productivity-as-a-software-developer-part-i-livecoding-20160717t170432768z

· @noisy ·
Personally I do not like to debug with printf's or gdb-like tools. The reason for that is you cannot easily skim data which are  on stacktrace, you cannot so easily change those variables in runtime, and so many other things...

https://i.ytimg.com/vi/WZN6O_JfMeM/maxresdefault.jpg

I find out, that people which debugs with prints in most cases use vim as a editor. Don't let me wrong, I also like vim, but it is only *very powerful* editor. IDE gives you in most cases much more... but you have to give up more RAM ;)
👍  ,
properties (23)
authornoisy
permlinkre-complexring-re-noisy-how-to-increase-a-productivity-as-a-software-developer-part-i-livecoding-20160717t172010614z
categoryprogramming
json_metadata{"tags":["programming"],"image":["https://i.ytimg.com/vi/WZN6O_JfMeM/maxresdefault.jpg"]}
created2016-07-17 17:20:12
last_update2016-07-17 17:20:12
depth2
children2
last_payout2016-08-23 19:54:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length519
author_reputation59,974,373,499,600
root_title"How to increase a productivity as a software developer - part I, LiveCoding"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id148,757
net_rshares3,955,275,526
author_curate_reward""
vote details (2)
@complexring ·
When you are developing on remote servers, you don't always have the luxury of the nice GUI of various IDEs.  X forwarding over ssh sucks ...

For all my real debugging tools (whenever I am testing code on full-scale production on hundreds of cores and ten thousands of threads), I use PAPI hardware counters, but more importantly Score-P, which gives me a lot more detailed aggregate information on time spent in MPI communication, stack trace on a given thread, etc.
👍  , ,
properties (23)
authorcomplexring
permlinkre-noisy-re-complexring-re-noisy-how-to-increase-a-productivity-as-a-software-developer-part-i-livecoding-20160717t175752233z
categoryprogramming
json_metadata{"tags":["programming"]}
created2016-07-17 17:57:51
last_update2016-07-17 17:57:51
depth3
children0
last_payout2016-08-23 19:54:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length468
author_reputation62,649,292,215,598
root_title"How to increase a productivity as a software developer - part I, LiveCoding"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id149,447
net_rshares13,245,468,234
author_curate_reward""
vote details (3)
@complexring ·
I should also add that I have to debug *other* people's code, so, in this case, gdb and addr2line are very useful, especially when I am not familiar with the codebase.

Debugging my own code is a nightmare.  Debugging other's is ***hell***.
👍  ,
properties (23)
authorcomplexring
permlinkre-noisy-re-complexring-re-noisy-how-to-increase-a-productivity-as-a-software-developer-part-i-livecoding-20160717t175931476z
categoryprogramming
json_metadata{"tags":["programming"]}
created2016-07-17 17:59:30
last_update2016-07-17 17:59:30
depth3
children0
last_payout2016-08-23 19:54:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length240
author_reputation62,649,292,215,598
root_title"How to increase a productivity as a software developer - part I, LiveCoding"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id149,477
net_rshares12,822,088,060
author_curate_reward""
vote details (2)