Commit Graph

80 Commits (8ed87af4a9a405d02f0dd2019c7ce9b5283d9b2f)

Author SHA1 Message Date
Doug Coleman 8ed87af4a9 debugger: Fix undefined-word. 2013-03-23 21:44:37 -07:00
Doug Coleman 0bae183d5f continuations: Rename restart to continue-restart. 2013-03-23 17:18:09 -07:00
Jon Harper 962ec0a4be Friendlier grouping/clumping error message 2012-10-28 13:33:51 -07:00
Doug Coleman 5a955d262a debugger: summary on check-mixin-class-error 2012-06-21 09:12:15 -07:00
Doug Coleman 500c3aace2 debugger: put method on no-current-vocab-error 2012-06-21 09:02:17 -07:00
Doug Coleman 9e5bafe5e2 debugger: Put method on check-method-error. 2012-06-21 08:56:57 -07:00
John Benediktsson 5eb5e4e4da debugger: fix error summary for not-found-in-roots. 2012-06-01 16:00:59 -07:00
Slava Pestov 2cf72ef255 Fix bootstrap 2011-11-12 16:45:04 -08:00
Joe Groff 64af6a1492 vm: add factorbug command to throw exception
Also rename "q" to "c" because it "c"ontinues, remove the useless "im" command, and rename the less useful "t" to "trim" so we can use "t" to mean "throw"
2011-10-27 21:14:49 -07:00
Doug Coleman 96da8df16e Rename class to class-of 2011-10-24 06:47:42 -05:00
John Benediktsson 02d749bebe debugger: remove double namespace using. 2011-10-14 15:45:31 -07:00
John Benediktsson 54b9b3bf14 namespaces: adding a "with-global" word to replace "global [ ] bind". 2011-10-13 17:21:59 -07:00
Slava Pestov 20c6aaddec Tease out symbol name and library in undefined_symbol() handler, for friendlier errors when calling an unresolved C function name. Fixes #93 2011-09-12 00:56:24 -07:00
Slava Pestov ae11aa08db Change do-callback to register the current thread with the callback, instead of busy waiting for the current callback to become the right one before returning. Fixes 100% CPU usage issue with system-alert. Thanks to Blei and ex-rzr for doing preliminary analysis of the issue 2011-04-12 21:48:54 -04:00
Slava Pestov 6617eca683 Fix three problems discovered by running math.floats.env tests in a loop:
- Crash if allocating error triggers a GC from a signal/SEH handler
- Crash if GC runs with floating point traps enabled on Windows
- Floating point traps didn't prettyprint properly
2010-09-02 22:57:14 -05:00
Slava Pestov 2da8d11dda Load debugger.{unix,windows} later on in bootstrap, because lopading it before the optimizing compiler incurs a long delay on Windows as all the WinAPI bindings get loaded and parsed 2010-05-06 17:41:00 -04:00
Joe Groff 5753157ae4 debugger: `` '' -> “ ” 2010-04-06 13:56:35 -07:00
Joe Groff e8dc04746e catch merge conflicts in source and report them as such 2010-04-06 13:34:26 -07:00
Joe Groff 7db4fb6a45 someone screwed up the kernel-error codes in debugger 2010-03-28 18:31:11 -07:00
Slava Pestov 09aa64baaf vm: report callstack overflow 2010-03-27 07:45:11 -04:00
Slava Pestov 747ddf5173 debugger: Untangle some dodgy dependencies that were loading locals before prettyprint, resulting in locals.prettyprint not being loaded 2010-03-17 19:19:43 +13:00
Joe Groff 6b8ed80b09 debugger: give a descriptive error for *-in-c-type-name 2010-03-15 12:57:38 -07:00
Joe Groff b2cef0c2cf add descriptive summary for no-c-type error 2010-03-12 23:07:36 -08:00
Joe Groff fe5770e726 update effect syntax error names in debugger 2010-03-11 11:22:43 -08:00
Joe Groff 3ba4805e29 move error summaries for effect parsing errors to debugger vocab 2010-03-05 21:50:40 -08:00
Slava Pestov 1100861204 Add support for final tuple classes which cannot be subclassed: TUPLE: foo ... ; final 2010-02-18 02:19:57 +13:00
Slava Pestov 8e7a1307fc debugger: fix formatting of restart list 2010-02-08 20:03:18 +13:00
Slava Pestov 6e65bc10f4 Clarify documentation for compilation units and 'undefined' error 2010-02-03 23:11:28 +13:00
Slava Pestov c3f66d49a3 Better error message for call( when quotation has the wrong effect 2010-02-03 23:11:25 +13:00
Slava Pestov 7fa61addcd words: undefined error now contains the word in question 2010-02-03 23:11:23 +13:00
Slava Pestov 1f255d09e9 classes: more robust code for detecting circular inheritance, move it out of classes.tuple since predicate classes need the same check too 2010-02-01 00:08:18 +13:00
Slava Pestov 421a244281 Throw a nice error at parse time if an attempt is made to declare a GENERIC: or MACRO: word inline. Such words cannot be inlined, and doing this before previously result in confusing error messages 2010-01-27 21:00:10 +13:00
Slava Pestov 4fe132df8d Minor cosmetic fixes 2009-11-10 21:48:00 -06:00
Slava Pestov e0d3878c00 stack-checker: tighten some screws in error reporting 2009-11-09 00:17:24 -06:00
Slava Pestov 4311c335bc Remove unused error from VM 2009-11-05 21:52:31 -06:00
Slava Pestov fc52fbd9f4 debugger: use short. rather than . to print errors if inspector is not loaded 2009-10-30 20:53:32 -05:00
Slava Pestov 64995237a7 Re-organize a few things to reduce '-include=' image size 2009-10-23 04:32:17 -05:00
Slava Pestov d967e109ae Put bad escape code in the bad-escape error 2009-09-23 17:55:54 -05:00
Joe Groff 2091f744bc give a better error message when an invalid slot name is used in a tuple/struct literal 2009-09-16 18:07:39 -05:00
Joe Groff 0b6f017840 Send FP trap signals to Factor as a different vm-error type 2009-09-06 08:44:25 -05:00
Doug Coleman d1ce837569 Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Slava Pestov a222fc6bd2 FROM: and RENAME: give a more meaningful error if the vocabulary does not exist 2009-07-18 06:51:29 -05:00
Doug Coleman 9401346a7c minor indentation changes 2009-06-11 11:02:40 -05:00
Slava Pestov 836c5e07e7 Better presentation for ambiguous-use-error, fix ui.tools.listener now that 'search' can throw, make USE: and UNUSE: ignore dupes 2009-05-16 09:34:42 -05:00
Slava Pestov 4d438a3edd Remove cruddy string encoding/decoding code from VM 2009-05-02 13:45:38 -05:00
Slava Pestov 3dc9fdf9db Fleshed out new dispatch code 2009-04-24 20:43:01 -05:00
Slava Pestov cb6205e9d4 debugger: add summary method for VM errors 2009-04-21 00:04:56 -05:00
Slava Pestov 86e5ddf449 Improve Unix signal and Windows structured exception reporting 2009-04-20 01:47:10 -05:00
Elliott Hird 0719d83653 Show the signal name next to the number in parentheses on Unices. 2009-04-20 01:28:41 +01:00
Slava Pestov 83b7ac3f3a Forgetting a definition removes compile error
Notify definition observers with nested compilation units
2009-04-15 00:27:02 -05:00