Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I if there are visual applications for debugging code in popular languages (like C, Pytho, Javascript).

By visual I do not mean debugger with UI which is bundled with almost every IDE, I'm rather talking about a debugger that can visualize data and process of changing this data over time.

E.g. imagine you're implementing a sort algorithm. It would be very cool to have an application that would save states of the array at each iteration and then would allow you easily go back and forth between states with good animation of insertion/deletion and move.

I understand that there maybe no general utility for that. Insetead I expect some environment (like R or MatLab) that can be used to easily create such debugging applications.

share|improve this question
    
So, not really an analog to gnu.org/software/ddd, then? –  Kilian Foth Mar 5 '13 at 16:09
    
There's a whole field called "data visualization" (google it), but I don't know if anyone has specifically applied it to debugging, nor could you call their creation "easy." There are tools and design principles to help, but it would require very specific data-dependent support from your application. –  Karl Bielefeldt Mar 5 '13 at 16:17
1  
@KarlBielefeldt data visualization tools I've seen so far either to specific (just draws graphs and provides some animation/interaction) or to broad (like d3js). Very similar system was introduced by Bret Viktor, but rather than taking code, app should take data (arrays, numbers etc) group them and allow navigation between different states (iterations). Another example of the similar tool using DTrace. But it's abilities are very limited and only represents current state. –  Kentzo Mar 5 '13 at 16:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.