No Debugger

Monkey Forums/Monkey Programming/No Debugger

The Matrix(Posted 2011) [#1]
I just bought and downloaded Monkey yesterday. I noticed the IDE has buttons for a debugger, it even has step in, step out and step.


My question is: how can I activate it ? did I not install it correctly? Doesn't it not work at all? If so why have the buttons. In any case, please help me with this.

Thanks, The Matrix


degac(Posted 2011) [#2]
Hi
there's no proper debugger (at least at the moment): this is because Monkey 'translates' to different target language each one has a different 'player' and different debugger.
This means that for HTML5 you need to choose the console debugger inside the browser (it depends by the browser you use); Android has its own CLI debugger, Flash, XNA e GLWF their own.
The presence of 'debug buttons' is due only to the fact that Monk IDE is a port of BlitzMax IDE, but they are useless.


The Matrix(Posted 2011) [#3]
Thanks


The Matrix(Posted 2011) [#4]
Follow up question for anybody.

What are the best free compilers and/or debuggers for HTML5, XNA, GLFW ?


skid(Posted 2011) [#5]
For HTML5 firebug is good for Mozilla, for IE9 and Chrome the built in developer tools are pretty good.

For all other targets the tool chain required by monkey provides the appropriate debugger for that target, for example in XNA use VisualStudio.


clevijoki(Posted 2011) [#6]
I think a proper debugger could be created, if you could make it evaluate monkey directly. It would save compilation time and may allow you to do something cool, like realtime editing of game code.