为专有语言创建调试IDE [英] Create a Debugging IDE for proprietary language

查看:123
本文介绍了为专有语言创建调试IDE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一个名为WIL / Winbatch的相当晦涩的专有语言,它有一个糟糕的IDE(winbatch工作室)。

I am using a rather obsure, proprietary langauge called WIL/Winbatch that had an awful IDE (winbatch studio).

我想开发一个替代环境;但是,如果没有设置断点,步骤和检查变量的能力,那就没有意义了。如何开始研究如何为专有语言实现调试器?它甚至合法吗?
我想我有点心态,调试器部分必须能够检查WIL执行时提供给它的语句,对吧?所以我不得不陷阱解释器的输出?或者只是使用任何语言在内存中读取位置?
提前致谢。

I would like to develop an alternative environment; however, without the ability to set breakpoints, step, and examine variables, there is really no point. How does one begin even researching how to implementing a debugger for a proprietary language? Is it even legal? I guess I'm kind of locked in a mindset that the debugger portion must be able to examine the statements that are provided to it in WIL as they are executed, right? So somehow i have to trap the output of the interpreter? Or is it just a matter of reading locations in memory using whatever language? Thanks in advance.

推荐答案

为什么你这么语言的关系如此紧密?如果没有得到很好的支持,您可以使用许多其他功能。无论如何,要真正回答你的问题,难度取决于它是编译语言还是解释语言,以及你是否可以访问任何源代码(当然,你似乎没有)。也就是说,这将是一个非常具有挑战性的项目,因为您必须对已编译的代码进行反向工程,以使其具有任何意义。花在学习另一种(更好的)语言上的时间会更好。

Why are you tied so closely to this language? If it's not well supported, there are many others you can use. Anyway, to actually answer your question, the difficulty depends on whether it is a compiled or interpreted language and whether or not you have access to any source code (which it seems of course, that you don't). That said, this would be a very challenging project as you would have to reverse engineer the compiled code for it to have any meaning. Your time would be better spent learning another (better) language.

也许如果你能告诉我们为什么要使用这种语言,我们可以给你一些帮助?

Perhaps if you can give us an idea of why you want to use this language we could give you some help?

这篇关于为专有语言创建调试IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆