annotations icon indicating copy to clipboard operation
annotations copied to clipboard

Examples seems not to run with OTP >= R15B03-1

Open drobakowski opened this issue 9 years ago • 1 comments

Hi @hyperthunk, thanks for your great work!

I was trying to start experimenting with the examples but following your instructions I couldn't get them properly to run. For example on OTP 18.3 I do get the following output when trying to run the demo:

Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V7.3  (abort with ^G)
1> annotated:demo().
All annotations for annotated:
   {annotation,logging,{function,{annotated,foo,1}},info}
All annotations of type transactional in annotated:
Accessing function annotations:
    by Mod + FunctionName: [{annotation,logging,
                                {function,{annotated,foo,1}},
                                info}]
    by Type + Mod + FunctionName: [{annotation,logging,
                                       {function,{annotated,foo,1}},
                                       info}]
    for unrecognised type(s): []
    calling an instrumented function:
{foo,"Hello World!"}

Am I missing something or could this be a problem with newer OTP releases? Unfortunately I'm on the go and don't have access to an older OTP release than R15B03-1 right now to test the library further.

drobakowski avatar Aug 18 '16 17:08 drobakowski

I'll take a look next week - have been a bit busy with other projects, but I'd like to bring this up to date.

hyperthunk avatar Nov 29 '18 11:11 hyperthunk