lus|wazze has quit [Read error: 104 (Connection reset by peer)]
srv has quit ["Lost terminal"]
lus|wazze` has quit ["Copyright is a temporary loan from the public domain, not property"]
maihem has quit ["Client exiting"]
karryall has quit ["home"]
Hadaka has quit [zelazny.freenode.net irc.freenode.net]
Naked has joined #ocaml
CybeRDukE has joined #ocaml
Naked is now known as Hadaka
yella has quit [Read error: 110 (Connection timed out)]
Etaoin has joined #ocaml
__DL__ has quit [zelazny.freenode.net irc.freenode.net]
Riastradh has quit [zelazny.freenode.net irc.freenode.net]
phubuh has quit [zelazny.freenode.net irc.freenode.net]
__DL__ has joined #ocaml
Riastradh has joined #ocaml
phubuh has joined #ocaml
eternite has joined #ocaml
<eternite>
hello!
<Etaoin>
hi
eternite has quit ["Client exiting"]
eternite has joined #ocaml
Tomasso has joined #ocaml
clog_ has joined #ocaml
owll has joined #ocaml
owll has quit [Client Quit]
clog has quit [Success]
clog_ is now known as clog
yella has joined #ocaml
<yella>
hi
<yella>
is it possible to use 'Callback.register' to implement callback functions through camlidl ?
clog has joined #ocaml
mattam_ is now known as mattam
clog has joined #ocaml
clog_ has joined #ocaml
karryall has joined #ocaml
clog has quit [Connection timed out]
clog_ is now known as clog
Tomasso has quit ["Client exiting"]
eternite has quit [sterling.freenode.net irc.freenode.net]
Hadaka has quit [sterling.freenode.net irc.freenode.net]
lam has quit [sterling.freenode.net irc.freenode.net]
JackAvon has quit [Read error: 104 (Connection reset by peer)]
eternite has joined #ocaml
Hadaka has joined #ocaml
lam has joined #ocaml
JackAvon has joined #ocaml
CybeRDukE has quit ["God is real... unless declared an integer."]
<phubuh>
bah, ocamlrun's backtraces are unsatisfactory
<Demitar>
Running ocamldebug?
<phubuh>
can it stop automatically when an exception is raised?
<phubuh>
I recall trying to do that, and not succeeding
<phubuh>
but I suppose I could step through the loop manually
<Smerdyakov>
If the exception is uncaught, you can note the final time and run again with a time a little before that set as a stopping point.
<phubuh>
clever, but this is a network application, and the times are very unreliable
<Smerdyakov>
I guess you're going to Hell, then.
<phubuh>
me too. :-(
<Demitar>
Well you can always use magic debugging. ;-)
<karryall>
which is ?
<Demitar>
In C it's printf() ;-)
<phubuh>
ah, a classic :-)
<Demitar>
And remarkably effective when all else fails (right up there with shotgun debugging). :)
<phubuh>
debugging is pretty hard when it's a function called from library code, and the most specific backtrace entry points to a the pattern match that holds all the main logic of my application
<phubuh>
shotgun debugging?
<Demitar>
Is there a way to make a program run until the initialization is done? (ocamldebug)
<Demitar>
phubuh, shotgun debugging is the art of removing portions of code until it works. :)
<phubuh>
ah
<phubuh>
yes, that's a classic as well
<Demitar>
phubuh, if you want to catch exceptions break raise is probably a good call.'
<phubuh>
ah!
<phubuh>
unbound identifier :(
<Maddas>
:*
<Demitar>
Yes you need to let it run past the initialization.
<Demitar>
break Pervasives.raise tells you that. :)
<Demitar>
phubuh, goto 4000 should get you atleast past Pervasives init.
<phubuh>
it did :-)
<phubuh>
hmm, that didn't catch the exception
<Demitar>
Who threw it?
<phubuh>
the backtrace I get when running with -b says a primitive operation threw it, which probably raises the exception directly from C, I suppose
brwill_zzz is now known as brwill
eternite has quit ["Client exiting"]
<Demitar>
phubuh, using the backtrace couldn't you break in the relevant function and single step until it raises?
Riastradh has joined #ocaml
yella has quit [Read error: 104 (Connection reset by peer)]
Demitar has quit [Read error: 104 (Connection reset by peer)]
Demitar has joined #ocaml
Hadaka has quit [sterling.freenode.net irc.freenode.net]
lam has quit [sterling.freenode.net irc.freenode.net]
Hadaka has joined #ocaml
lam has joined #ocaml
Hadaka has quit [sterling.freenode.net irc.freenode.net]
lam has quit [sterling.freenode.net irc.freenode.net]
Hadaka has joined #ocaml
lam has joined #ocaml
Jack_Avon has joined #ocaml
JackAvon has quit [Read error: 104 (Connection reset by peer)]