当我尝试使用guitracer在cygwin终端中跟踪我的SWI-Prolog代码时,会弹出以下错误:
我尝试更改DISPLAY变量,但会弹出以下提示:
[PCE fatal: @display/display: Failed to connect to X-server at `': no DISPLAY environment variable
*********************************************************************
* You MUST be running the X11 Windowing environment. If you are, *
* check the setting of your DISPLAY environment variable as well *
* the access rights to your X11 server. See xauth(1) and xhost(1). *
*********************************************************************
in: <No exception goal>
]
Host stack:
[23] pce_principal:send(@3221888617/prolog_debugger, icon(resource(debug)))
[22] Send-method on @3221888617/prolog_debugger: prolog_debugger->initialise(0,main)
[21] '$c_call_prolog'
[20] pce_principal:send(new(_G397, prolog_debugger(0, main)), open)
[19] prolog_gui:send_pce(prolog_gui:send(new(_G397, prolog_debugger(0, main)), open))
我尝试更改DISPLAY变量,但会弹出以下提示:
[PCE fatal: @display/display: Failed to connect to X-server at `:0.0.': malformed address: :0.0.
- You MUST be running the X11 Windowing environment. If you are, *
- check the setting of your DISPLAY environment variable as well *
the access rights to your X11 server. See xauth(1) and xhost(1). *
in: <No exception goal> ] Host stack: [23] pce_principal:send(@3221888913/prolog_debugger, icon(resource(debug)))
[22] Send-method on @3221888913/prolog_debugger: prolog_debugger->initialise(0,main) [21] '$c_call_prolog' [20] pce_principal:send(new(_G397, prolog_debugger(0, main)), open) [19] prolog_gui:send_pce(prolog_gui:send(new(_G397, prolog_debugger(0, main)), open))