Re: SmartEiffel shortcomings?
Cyril ADRIAN <[email protected]> Sun, 10 Jul 2005 22:30:08 +0200
| Newsgroups | gmane.comp.lang.eiffel.smalleiffel |
|---|---|
| Message-ID | <[email protected]> |
Philippe Ribet wrote: > Do you know that almost all of this is included in the compiler > nowadays? (introspection, storable, recursive attributes printing from > debugger) Of course the mini-debugger is not, but it might be > interesting. Would you like to contribute it? Yes, that would really be interesting. I think I understand the principle: something like just don't call sedb() at every Eiffel instruction... Am I right? > May be stopping at an exception is not already done. If so, I think > you could easily provide some small patch. Thanks in advance! Such an implementation should be straightforward in 2.2 architecture. Just register a handler in sedb (see base.h::register_handler()) with SE_HANDLE_EXCEPTION_THROWN calling sedb_break(). Oh well it's not that obvious because sedb lacks an init() function (that should be added too). Anyway it should be done, the feature would be really useful, thanks Wolfgang for the idea :o) In all cases, patches are welcome. Best regards to all, -- Cyril ADRIAN Vt Sol inter planetas, [email protected] Ita MVSICA inter Artes Liberales http://www.cadrian.net/~cyril in medio radiat -- Heinrich Schütz, 1640