Feature wanted in GTDebugger

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Feature wanted in GTDebugger

abergel
It would be great to be able to have the GTInspector ability to keep the view when selecting variables. For example:



If I click on t2, I would love to see the items tab, and not the state. I guess the fact that t2 has the same class than t1 should be a hint good enough no?
By the way, shouldn’t the items view be the default view when I inspect a collection?

Again guys, I want to say, again, that you are doing a fantastic job. The Glamourous team rules!!!!

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Feature wanted in GTDebugger

Tudor Girba-2
Hi Alex,

You spotted a known bug. The inspector does try to open the last selected presentation. If the presentation is not found, then it falls back to the first presentation (in most cases State). The problem in this case is that for a collection the title is variable (because it has the size in it - e.g., 5 Items) and because of that it is not recognized as being the same when you switch to another collection.

You also ask a relevant question: What should the default presentation be? Until now we made it State because we wanted to have as much resemblance with the classic inspector as possible. But, I think now, we can safely start to change that default. For collection, I also believe it makes sense to show Items by default.

Cheers,
Doru



On Sat, Sep 27, 2014 at 5:01 PM, Alexandre Bergel <[hidden email]> wrote:
It would be great to be able to have the GTInspector ability to keep the view when selecting variables. For example:



If I click on t2, I would love to see the items tab, and not the state. I guess the fact that t2 has the same class than t1 should be a hint good enough no?
By the way, shouldn’t the items view be the default view when I inspect a collection?

Again guys, I want to say, again, that you are doing a fantastic job. The Glamourous team rules!!!!

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Feature wanted in GTDebugger

Ben Coman
Tudor Girba wrote:

> Hi Alex,
>
> You spotted a known bug. The inspector does try to open the last
> selected presentation. If the presentation is not found, then it falls
> back to the first presentation (in most cases State). The problem in
> this case is that for a collection the title is variable (because it has
> the size in it - e.g., 5 Items) and because of that it is not recognized
> as being the same when you switch to another collection.
>
> You also ask a relevant question: What should the default presentation
> be? Until now we made it State because we wanted to have as much
> resemblance with the classic inspector as possible. But, I think now, we
> can safely start to change that default.

Is this the tool being integrated into Pharo for the first time?  Maybe
it would help acceptance if the default remained similar to the classic
inspector. Then again, being in Pharo with with a wider audience, maybe
its harder to change later.
cheers -ben

For collection, I also believe

> it makes sense to show Items by default.
>
> Cheers,
> Doru
>
>
>
> On Sat, Sep 27, 2014 at 5:01 PM, Alexandre Bergel
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     It would be great to be able to have the GTInspector ability to keep
>     the view when selecting variables. For example:
>
>
>
>     If I click on t2, I would love to see the items tab, and not the
>     state. I guess the fact that t2 has the same class than t1 should be
>     a hint good enough no?
>     By the way, shouldn’t the items view be the default view when I
>     inspect a collection?
>
>     Again guys, I want to say, again, that you are doing a fantastic
>     job. The Glamourous team rules!!!!
>
>     Cheers,
>     Alexandre
>
>     --
>     _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>     Alexandre Bergel  http://www.bergel.eu
>     ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>     _______________________________________________
>     Moose-dev mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
>
> --
> www.tudorgirba.com <http://www.tudorgirba.com>
>
> "Every thing has its own flow"
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Feature wanted in GTDebugger

abergel
In reply to this post by Tudor Girba-2
Indeed, “Items” should be the default view.

Alexandre

On Sep 28, 2014, at 5:49 AM, Tudor Girba <[hidden email]> wrote:

> Hi Alex,
>
> You spotted a known bug. The inspector does try to open the last selected presentation. If the presentation is not found, then it falls back to the first presentation (in most cases State). The problem in this case is that for a collection the title is variable (because it has the size in it - e.g., 5 Items) and because of that it is not recognized as being the same when you switch to another collection.
>
> You also ask a relevant question: What should the default presentation be? Until now we made it State because we wanted to have as much resemblance with the classic inspector as possible. But, I think now, we can safely start to change that default. For collection, I also believe it makes sense to show Items by default.
>
> Cheers,
> Doru
>
>
>
> On Sat, Sep 27, 2014 at 5:01 PM, Alexandre Bergel <[hidden email]> wrote:
> It would be great to be able to have the GTInspector ability to keep the view when selecting variables. For example:
>
> <Screen Shot 2014-09-27 at 11.58.01 AM.png>
>
> If I click on t2, I would love to see the items tab, and not the state. I guess the fact that t2 has the same class than t1 should be a hint good enough no?
> By the way, shouldn’t the items view be the default view when I inspect a collection?
>
> Again guys, I want to say, again, that you are doing a fantastic job. The Glamourous team rules!!!!
>
> Cheers,
> Alexandre
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev