TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

I made a debugger that draws the state machine of the program

306 pointsby r00nkover 10 years ago

14 comments

jacquesmover 10 years ago
That is absolutely awesome. I used to have something like this: a pair of very fast dacs hooked up to the 16 address lines of my computer and another dac hooked up to the databus. It allowed me to look straight into the memory of the machine as the processor was accessing it, quite a powerful tool. Yours is nicer though (and with todays memory size I'd hate to think about the quantity of data that passes in a split second across the bus of a modern pc).
评论 #8849670 未加载
评论 #8852292 未加载
评论 #8849550 未加载
rmcover 10 years ago
Here&#x27;s one for Python. <a href="http://pythontutor.com/" rel="nofollow">http:&#x2F;&#x2F;pythontutor.com&#x2F;</a> It shows the variables, and allows you to step forward and backward. Great for explaining programming to new people who haven&#x27;t grokked computing yet.
评论 #8849872 未加载
评论 #8850892 未加载
评论 #8852476 未加载
r00nkover 10 years ago
Also, if anyone&#x27;s interested, I need some help porting it to different platforms. If you can swim in the clusterfuck of x86 for a bit to port it to ward that would be awesome, or even getting working with gdb this could be an actual tool.
评论 #8850392 未加载
r00nkover 10 years ago
source: <a href="https://github.com/r0nk/ward" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;r0nk&#x2F;ward</a>
评论 #8849427 未加载
hrjetover 10 years ago
IIUC, you could probably use KLEE to ease the pain of capturing the state.<p><a href="http://klee.github.io/" rel="nofollow">http:&#x2F;&#x2F;klee.github.io&#x2F;</a>
simiasover 10 years ago
I would have been more interested by the source code and some explanations...
评论 #8850060 未加载
dschubertover 10 years ago
Shameless self-plug: Me and a friend developed a Java debugger [1] that visualizes (Java) programs with UML class and sequence diagrams [2]. It isn&#x27;t actively developed anymore, but the demo version [3] (along with Help -&gt; Tutorial) can still be used to give it a try.<p>It was quite an involved &amp; fun project as we used Java VM Tool Interface directly instead of using JDI and the layout algorithms for the diagrams are quite fancy too :)<p>[1] <a href="http://www.jbixbe.com" rel="nofollow">http:&#x2F;&#x2F;www.jbixbe.com</a> [2] <a href="http://www.jbixbe.com/VisualTour.html" rel="nofollow">http:&#x2F;&#x2F;www.jbixbe.com&#x2F;VisualTour.html</a> [3] <a href="http://www.jbixbe.com/download/jar/jbixbe.jar" rel="nofollow">http:&#x2F;&#x2F;www.jbixbe.com&#x2F;download&#x2F;jar&#x2F;jbixbe.jar</a>
avodonosovover 10 years ago
That&#x27;s useful, exactly the tool missing in my BrainFuck toolkit.<p>+1
PhasmaFelisover 10 years ago
All right, I&#x27;ll be the first one to admit that I don&#x27;t know what the hell I&#x27;m looking at. Would some sort of explanation, or at the very least some source code, be too much to ask?
VLMover 10 years ago
Its interesting that its dynamic. Idea to think about would be snapshotting dot files for graphviz. Then you can do all kinds of crazy stuff with the graphviz output.<p>My databases at work snapshot out their schemas to graphviz to create diagrams of all the FK relationships automatically every day, which I find helpful, and more or less inspired this idea.
clarryover 10 years ago
I would love to have a visual representation of all the possible branches that can be taken in a body of C code, with an easy way to ask the program to tell me what are all the conditions that must be met for this branch to execute.
评论 #8852918 未加载
c-qjv0xfiover 10 years ago
What is the widget in the top right corner? What WM are you using?
评论 #8851780 未加载
partitionover 10 years ago
How did you get your terminal to look like that?
评论 #8849883 未加载
faaarover 10 years ago
what wallpaper is that
评论 #8849685 未加载