Alex wrote:
> drop into a shell and do this:
> defaults write NSGlobalDomain EOAdaptorDebugEnabled YES
> Then watch your SQL statements spew to the log...
>
Umm, sorry Alex, but "spew to the log" indeed... the problem with doing this
is that then you get a log of EOF transactions for all applications,
including, say, EOModeler(*) in /tmp/console.log. This may be more than you
want. Setting the default for a single app may be more appropriate
granularity.
(*) This points to another answer to the original question, of course; if
you want to see what SQL EOModeler is generating do
defaults write EOModeler EOAdaptorDebugEnabled YES
If you now select an entity and hit the "browse data" button (the database
symbol with the magnifying glass) this will enable you to trace what's
happening without having to run another application.
Best wishes,
mmalc.