Euphoria Ticket #623: Tracing/debugging

Seeing Kat's ticket:622 for being able to do a stack trace dump, I thought that I would add some suggestions of my own.

I'd like a more console-oriented debugger instead of the screen-oriented debugger we have now. Although a nice gui debugger with lots of menus etc. would be nice, too, I think that would be a completely separate work.

That and the ability to set breakpoints at certain lines and files, the ability to view complex sequences by subscript, the ability to view the last return of any given function, and the ability to step through complex expressions.

A lot of times function returns are used directly in an expression (especially in if statements) instead of being assigned to a variable.

Also, I'm not sure if it's possible now to specify tracing on the command line instead of having to add lines to the file you are interested in tracing. That would be nice too.

Lastly, the ability to trace either by source or by IL would be icing on the cake.

I think that some of this might be related to the REPL work that is being done.


Type: Feature Request Severity: Normal Category: Language
Assigned To: mattlewis Status: Accepted Reported Release:
Fixed in SVN #: View VCS: none Milestone: 4.1.0

1. Comment by mattlewis Apr 24, 2011

I think that the way to go here is to first get the debugger into the front end (see ticket:506). Once we have an API (probably located in include/euphoria/debugger.e, or something similar), it should be fairly easy to allow user built debuggers.


Quick Links

User menu

Not signed in.

Misc Menu