Re: [frogs] How can I output Stream_event variables on the console? |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: Marc Hohl <marc@xxxxxxxxxx>
- Subject: Re: [frogs] How can I output Stream_event variables on the console?
- From: Neil Puttock <n.puttock@xxxxxxxxx>
- Date: Wed, 24 Feb 2010 20:01:51 +0000
- Cc: Reinhold Kainhofer <reinhold@xxxxxxxxxxxxx>, frogs@xxxxxxxxxxx, "Carl D. Sorensen" <c_sorensen@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=EuVdl2g6yev0cMUjl2prTxZb+Mnhrg05ZJ0yvD3Jw10=; b=aUP35Ed84ipE4RMImym/ieYJZmJSh2hiW8dSDGWV8ORN+GX6HixjbqUx5W11/fHdop m1DLtJA52XFxT2fKmPoGYQ0Dygk7W83WfjsHG5GHXf+J6Bk5am1dSOy81FkOLaVcaO7Q cQgNjarJdPX1X64lFdGaY6LLHKWqVHiBhlBcQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=FeBrxrNVPp9AyUCkjNYboXKC0Ap13ntWZKeWIgXn7OPJdUGFgx29CFggpzp6GgxhEe gA7dPlAhvdTxKsIvC/ntt/PO6wqh54+wm9RI8eBdkcdpswxvHlF48aMFyrejKJ6bwSxZ JNAUp+8Gi4IMaIKn4l+X+HJ/IszB0KNklSQPE=
On 24 February 2010 19:28, Marc Hohl <marc@xxxxxxxxxx> wrote:
> How can I set a breakpoint?
break file-name:line-no
or
break Class_name::method
> I assume that just pasting this line under
>
> Stream_event *event = note_events_[i];
>
> is not the whole deal (I tried this, it didn't work).
I don't think you can use print_smob () here; it's part of Guile's
requirements for creating a smob, but isn't meant to be called
directly from C++ (in fact, it's private so you can't call it anyway).
I'd suggest using ly_display_scm () instead, e.g.,
// display mutable properties of ev
ly_display_scm (ev->get_property_alist (true));
Cheers,
Neil
---
----
Join the Frogs!