Live data from Hacker News

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

takipi.com

51–60 of 84 posts

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

#51
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...

That may be the list price, but my company pays around 2k/year for a MSDN ultimate subscription for each developer. Which includes licenses that don't expire for, Visual Studio Ultimate, every version of Windows, Office, SQL Server, etc.

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

#52
post #7

I'd give my firstborn for a debugger/profiler like this in .NET

There's Windbg/SoS for the times you would need something like this.

Decidedly not as pretty, but pretty effective if you know how. Channel9 has a series of videos on WinDbg for .NET developers.

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

#53
post #21

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…

you haven't seen aged code base with 3000+ JSP with many ways of accessing different data sources and no coherent paradigm in general.

I was feeling all smug thinking that I could one-up you, but in the end you win:

find -name "*.jsp" | wc -l

1344

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

#54
post #49
post #45

Earlier quoted context omitted.

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...

http://tpb.piraten.lu/torrent/7963590/MICROSOFT_VISUAL_STUDI...

Please don't post links to pirated software.

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

#56
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...

$0 on BizSpark, DreamSpark, etc.

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

#58
post #45

Earlier quoted context omitted.

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...

$0 on BizSpark, DreamSpark, etc.

BizSpark does (for up to 3 years); DreamSpark does not include the Ultimate edition of Visual Studio.

https://www.dreamspark.com/student/software-catalog.aspx

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

#60
post #50

Earlier quoted context omitted.

Or by using a better type system. Or by using the type system that's available in the language. Because it's all too easy to ignore the types and for example call `get` on a Scala Option value, or `fromJust` on a Haskell Maybe. Both will throw an exception at runtime if the Option/Maybe is empty.

Of course, the retort there is as much "write simpler programs" as it is "use the type system." I've seen and been a part of many a tangled knot in a type system that, while ostensibly safe, was so much more involved to do the simple things that I think it caused more bugs.

I'm not saying strongly typed languages are bugfree. But they eliminate whole classes of bugs. The OP was asking about programming techniques to improve code quality or tools to help with debugging. Well, a type system is such a technique/tool that checks for bugs at compile time.
Post reply on HN