<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 22.06.2010 10:40, Valeriya Pudova wrote:
<blockquote cite="mid:4C205AD7.3000409@digitalchile.net" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
<blockquote cite="mid:4C205058.4040307@digitalchile.net" type="cite">
<blockquote
cite="mid:AANLkTiki-Mku2tYbBIOkpHfPPZWE2EQDcDb_V9CzYpA4@mail.gmail.com"
type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
<blockquote type="cite" style="color: rgb(0, 0, 0);"> </blockquote>
<pre wrap="">The continuation marks included in the exception are effectively a
stack trace, and you can convert them into locations. See the docs.
</pre>
</div>
</blockquote>
:) Reading about continuation marks. <br>
</blockquote>
<br>
Great feature those continuation marks. But does not looks helpful this
case.<br>
To be able to get mark i should set it before. Is it not? <br>
</blockquote>
<br>
Wow!<br>
<br>
(define (foo a b)<br>
(for-each (lambda (e) (display e)(newline))
(continuation-mark-set->context (current-continuation-marks))))<br>
<br>
(define (bar a b)<br>
(foo a b))<br>
<br>
(bar 1 2)<br>
<br>
=><br>
(foo . #(struct:srcloc c:\documents and settings\v\desktop\test.ss 2 0
2 127))<br>
(call-with-exception-handler . #(struct:srcloc
C:\Racket\collects\racket\private\more-scheme.rkt 274 2 9287 256))<br>
(loop . #(struct:srcloc C:\Racket\collects\drracket\private\rep.rkt
1134 19 47088 797))<br>
(call-with-break-parameterization . #(struct:srcloc
C:\Racket\collects\racket\private\more-scheme.rkt 158 2 5099 519))<br>
(#f . #(struct:srcloc C:\Racket\collects\drracket\private\rep.rkt 1115
9 46083 2670))<br>
(loop . #(struct:srcloc C:\Racket\collects\drracket\private\rep.rkt
1375 17 58510 808))<br>
<br>
Interesting. There are no the function bar in the backtrace. Why?<br>
</body>
</html>