cleanup of excpt.nim

This commit is contained in:
Andreas Rumpf 2018-12-11 22:13:30 +01:00
commit 5dc83d0c8f

View file

@ -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".} =