00:05:24  * bnoordhuisjoined
00:10:34  * bnoordhuisquit (Ping timeout: 268 seconds)
05:10:49  * jmar777joined
07:06:37  * Lethalmanjoined
07:21:35  * jmar777quit (Remote host closed the connection)
07:57:30  * C-Manjoined
09:11:22  * bnoordhuisjoined
09:30:50  * seventhquit (Ping timeout: 245 seconds)
09:39:52  * carifjoined
09:44:16  * carifquit (Ping timeout: 264 seconds)
12:48:38  * hiojoined
12:49:09  <hio>how does v8 stop execution when a breakpoint hits? software interrupt or something?
13:03:50  * Lethalmanquit (Read error: Connection reset by peer)
13:06:06  <bnoordhuis>hio: js functions have a 'is interrupt pending' check in the prolog
13:06:39  <bnoordhuis>where 'interrupt' is a thread-local flag
13:17:51  <hio>bnoordhuis, so do I understand you correctly: The c++ code gets executed, it throws an interrupt (however it achieves doing so), and then halts program execution, making it possible to use debug api calls?
13:18:05  <hio>also what is a "prolog"?
13:20:49  <bnoordhuis>hio: it's probably easiest to demonstrate it
13:21:02  <hio>bnoordhuis, so do I understand you correctly: The c++ code gets executed, it throws an interrupt (however it achieves doing so), and then halts program execution, making it possible to use debug api calls?
13:21:07  <hio>sorry, misclicked
13:21:13  <bnoordhuis>compile a debug build, run d8 with --expose_debug_as=D, then run D.Debug.disassemble(function(){})
13:21:24  <hio>ok I will
13:21:25  <bnoordhuis>you'll see a call to InterruptStub in there at the start of the function
13:21:35  <hio>thank you for your help, I appreciate it
13:21:40  <bnoordhuis>no problem :)
13:23:04  * Jarvix__joined
13:26:30  * Jarvix_quit (Ping timeout: 264 seconds)
13:27:06  * wfhquit (Ping timeout: 264 seconds)
13:27:26  * wfhjoined
13:30:47  <hio>I see a call to InterruptCheck, not "InterruptStub" though
13:38:52  * bnoordhuisquit (Ping timeout: 264 seconds)
14:28:09  <hio>when I embed v8, is it running in the same process as my host application or is it going to start a new process anyway?
14:31:08  * jmar777joined
14:33:14  * bnoordhuisjoined
14:43:05  <bnoordhuis>hio: that changed in recent v8 releases iirc
15:02:04  * jmar777quit (Remote host closed the connection)
15:12:49  * jmar777joined
15:17:44  * jmar777quit (Remote host closed the connection)
15:24:29  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
15:46:46  * seventhjoined
16:37:53  * Lethalmanjoined
16:40:04  * bnoordhuisquit (Ping timeout: 267 seconds)
16:58:38  * bnoordhuisjoined
17:20:38  * iamdustanquit (Ping timeout: 240 seconds)
18:40:44  * hiopart
18:45:36  * c4milojoined
18:50:26  * c4miloquit (Remote host closed the connection)
19:33:47  * c4milojoined