cleanup of excpt.nim
This commit is contained in:
parent
239846a528
commit
5dc83d0c8f
1 changed files with 4 additions and 1 deletions
|
|
@ -458,7 +458,10 @@ when defined(nimRequiresNimFrame):
|
||||||
|
|
||||||
proc callDepthLimitReached() {.noinline.} =
|
proc callDepthLimitReached() {.noinline.} =
|
||||||
writeStackTrace()
|
writeStackTrace()
|
||||||
showErrorMessage("Error: call depth limit reached in a debug build (" & $nimCallDepthLimit & " function calls). You can change it with -d:nimCallDepthLimit=<int> or switch to a release build with -d:release.\n")
|
showErrorMessage("Error: call depth limit reached in a debug build (" &
|
||||||
|
$nimCallDepthLimit & " function calls). You can change it with " &
|
||||||
|
"-d:nimCallDepthLimit=<int> but really try to avoid deep " &
|
||||||
|
"recursions instead.\n")
|
||||||
quitOrDebug()
|
quitOrDebug()
|
||||||
|
|
||||||
proc nimFrame(s: PFrame) {.compilerRtl, inl, exportc: "nimFrame".} =
|
proc nimFrame(s: PFrame) {.compilerRtl, inl, exportc: "nimFrame".} =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue