Live data from Hacker News

Show HN: God mode in production code – a new way to debug in Scala

takipi.com

71–80 of 84 posts

Re: Show HN: God mode in production code – a new way to debug in Scala

#72

This looks awesome! Is there anything like this for local code though? The IntelliJ/Eclipse debuggers don't seem as well designed as this one.

Takipi may be installed locally; the same installation process will work. However, it does not provide live debugging like in your IDE, but rather a post-event drill-down (a "time travelling debugger"), as it is designed for testing/staging/deployment environments.

Re: Show HN: God mode in production code – a new way to debug in Scala

#73

Earlier quoted context omitted.

You definitely can get VS Ultimate through DreamSpark, but only through DreamSpark Premium (fee paid by school.) http://i.imgur.com/9aHcIOx.png https://www.dreamspark.com/Institution/Subscription.aspx

Or you can join IEEE for $13.50: http://www.ieee.org/membership_services/membership/join/join... . Just make sure to NOT give them a real email address, these guys are sending more spam than Nigeria.

But we really do think you would benefit from joining the Optical Transportation Switching Society for only an additional $10 per year.

Re: Show HN: God mode in production code – a new way to debug in Scala

#74
post #32

Tesla said that he could simulate the behaviour of his contraptions to the smalles detail in his head and without exception, they ran that way once he built them for real. I think that a good programmer should be able to do this with his programms, and without flattering myself I can say that in 99% of the cases when an error happened, the answer occured to me almost instantly or after a few moments of thinking and t…

This is just an observation and not meant to be an insult. I am just using your comment as an example of why I believe you are incorrect in your final statement. In your post you have several misspelled words (smalles, programms,abbilities). In only a small number of lines of text you have many errors. A spellchecker is a wonderful tool too and you would have benefited from it. Imagine this now being hundreds, thousa…

Darn, even I have errors in there and I proofread it, argh.

Re: Show HN: God mode in production code – a new way to debug in Scala

#75

Many of the Smalltalks allow hooking to a running image to do live debugging.

No they don't. They just allow for fix and continue; they give you no insight into why a problem occurred because they provide no history.

Re: Show HN: God mode in production code – a new way to debug in Scala

#76

Tesla said that he could simulate the behaviour of his contraptions to the smalles detail in his head and without exception, they ran that way once he built them for real. I think that a good programmer should be able to do this with his programms, and without flattering myself I can say that in 99% of the cases when an error happened, the answer occured to me almost instantly or after a few moments of thinking and t…

Why require me to think like a computer when the computer is right there and can think for me? Just because I can do math in my head doesn't mean I should.

Re: Show HN: God mode in production code – a new way to debug in Scala

#77

Many of the Smalltalks allow hooking to a running image to do live debugging.

No they don't. They just allow for fix and continue; they give you no insight into why a problem occurred because they provide no history.

uhm... that's not universally true - I worked with some folks that had the history when they did it. Not sure if it was vendor provided or home grown, but it was the call history and call stack.

Re: Show HN: God mode in production code – a new way to debug in Scala

#78

What about python?

Just FYI, most of this is a lot easier in python. You can get the full stack trace and all of the values of all of the variables when there is an exception, something that is orders of magnitude more difficult to do with Java/Scala.

You'd have to be a bit creative to get the "full variable value history" stuff working, but it would probably be possible with some hacking on the setattr methods for your objects (assuming you have full control over the system)

I had a bunch of code like that for my previous (python) projects. I've really missed it now that I've moved to scala/java, so I'm pretty excited for this project.

Re: Show HN: God mode in production code – a new way to debug in Scala

#79

Earlier quoted context omitted.

No they don't. They just allow for fix and continue; they give you no insight into why a problem occurred because they provide no history.

uhm... that's not universally true - I worked with some folks that had the history when they did it. Not sure if it was vendor provided or home grown, but it was the call history and call stack.

Call stack is provided in most debuggers these days. Are you honestly saying you saw something comparable to the linked article in some Smalltalk system? If so, I would be very interested in some kind of reference.

Re: Show HN: God mode in production code – a new way to debug in Scala

#80
post #45

Earlier quoted context omitted.

Closest I know of is IntelliTrace: http://msdn.microsoft.com/en-us/library/vstudio/dd264915.asp...

Which requires Visual Studio Ultimate, listed at $13300/seat. https://en.wikipedia.org/wiki/Microsoft_Visual_Studio#Editio... http://www.microsoftstore.com/store/msusa/en_US/pdp/productI...

Wow, this is more than a yearly salary in many countries. I suppose I wouldn't want to work for a year to get a better visual studio...
Post reply on HN