每当我打电话给(read)
在 Allegro Common Lisp 9.0 中,调试窗口“中断”(抱歉,我想不出更清晰的术语):鼠标变成旋转的蓝色死亡轮,窗口拒绝评估任何新输入,尽管它可以仍然可以输入。 IDE 的其他部分不受影响。屏幕看起来像这样:
International Allegro CL Free Express Edition
9.0 [Windows] (Jan 8, 2013 8:45)
Copyright (C) 1985-2012, Franz Inc., Oakland, CA, USA. All Rights Reserved.
This development copy of Allegro CL is licensed to:
Allegro CL 9.0 Express user
CG version 9.0 / IDE version 9.0
Loaded options from C:\Users\Noah Dove\Documents\allegro-prefs-9-0-express.cl.
;; Optimization settings: safety 1, space 1, speed 1, debug 2.
;; For a complete description of all compiler switches given the current
;; optimization settings evaluate (EXPLAIN-COMPILER-SETTINGS).
[changing package from "COMMON-LISP-USER" to "COMMON-GRAPHICS-USER"]
CG-USER(1): (read) ; <--- causes window to malfunction.
; any further input is not evaluated.
窗口底部的状态文本停留在:
"reading and evaluating 'read'..."
知道发生了什么事吗?我想做的只是基本的控制台 io。
这个问题好像可以通过补丁解决cg_cg-文本编辑窗格_001 http://www.franz.com/support/patches/log/9.0/#cg_cg-text-edit-pane_001:
Date posted: Mon Jan 28 09:26:04 PST 2013
Patch names: code/cg-text-edit-pane.001,
update/pjk001.001,
update/pjl002.001
Description: The code for doing lisp reading in text-edit-pane windows and
widgets was out-of-date with the conversion of Common Graphics
to the Unicode version of the Windows API.
fresh-line erroneously printed a newline just after a blocking
read.
Lisp reading was broken in IDE listeners.
Impact: recommended
下载并安装新补丁:
- 选择菜单“安装”->“新补丁”
- 单击“列出新补丁”
确保您看到这些补丁
- Leave the "Download all new and updated patches" radio button checked
I recommend this, so you get all current fixes and improvements
Alternatively, you may:
- 仅检查这些补丁
- 选中“仅下载选定的补丁(上面选中的补丁)”单选按钮
- 点击“下载”
出现一条消息,表明该过程尚未结束:
- 关闭所有 Allegro CL 实例
- Run
update.exe
它将使用下载的补丁重建官方映像
Now, (read)
在 IDE 侦听器中工作。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)