Debug logs in the console
Reported by delisa | October 15th, 2010 @ 01:45 AM
Whenever I open a new Redcar window, the following is logged to the console:
#<Redcar::ApplicationSWT::Treebook:0xe222eb>#<Redcar::ApplicationSWT::Treebook:0xe222eb>#<Redcar::ApplicationSWT::Treebook:0xe222eb>
I've tried finding it, but to no avail. After doing a bisect, I discovered it started happening in commit d0d75aa38c2c8b4ff0cd324ec72c0093dc95bebe
It makes for very messy cukes..
Comments and changes to this ticket
-
tim.felgentreff (at student.hpi.uni-potsdam) October 18th, 2010 @ 10:27 AM
It doesn't seem to be printed from Ruby land - the output is not produced via "p". Also, "inspect" is never being called on the Treebook. Possibly some SWT stuff?
-
delisa October 23rd, 2010 @ 06:09 PM
Found it. http://github.com/kattrali/redcar/blob/master/plugins/application_s...
Any call to:
Swt::Graphics::Color.new(display, 230, 240, 253)
Prints to the console:
#<Redcar::ApplicationSWT::Treebook:0x81d783>
...and I have no clue why this is!
-
delisa October 24th, 2010 @ 03:22 AM
- State changed from new to open
Correction to above: calling Color.new prints the object that called it..?
-
delisa November 2nd, 2010 @ 01:54 PM
- State changed from open to resolved
Fixed this by changing this:
Swt::Graphics::Color.new(display, 230, 240, 253)
to this:
Swt::Graphics::Color.new(ApplicationSWT.display, 230, 240, 253)
go figure.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.