pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

remove breakpoint ?

HS
Haroldo Stenger
Fri, Apr 5, 2024 9:16 AM

hi nice pharo people

I'm doing my very initial attempts in Pharo. Having read something
here and there.
Now I've put myself to subclass BlElement in order to add a method of
myself to this subclass.
The subclass got named 'Circulo'. Then I had a hard time trying to
create a protocol to 'host' it, but finally it got created as protocol
'a'. Initially it got created in the third pane in the browser, below
without any apparent 'breakpoint hierarchy'. However, as soon as I
wrote the method and got to save/accept it, something strange
happened, namely, 'brakepoint' protocol was created out of nothing ,
and my 'a' protocol was put under it. The method itself in the fourth
pane, has a red ! sign. If I right click on the method, and try to
remove the breakpoint, it does nothing. What happens this and how can
I have a normal situation , since I did not put breakpoints ? Thanks
for your kind help

hi nice pharo people I'm doing my very initial attempts in Pharo. Having read something here and there. Now I've put myself to subclass BlElement in order to add a method of myself to this subclass. The subclass got named 'Circulo'. Then I had a hard time trying to create a protocol to 'host' it, but finally it got created as protocol 'a'. Initially it got created in the third pane in the browser, below without any apparent 'breakpoint hierarchy'. However, as soon as I wrote the method and got to save/accept it, something strange happened, namely, 'brakepoint' protocol was created out of nothing , and my 'a' protocol was put under it. The method itself in the fourth pane, has a red ! sign. If I right click on the method, and try to remove the breakpoint, it does nothing. What happens this and how can I have a normal situation , since I did not put breakpoints ? Thanks for your kind help
SD
stephane ducasse
Sun, Apr 7, 2024 8:38 PM

Hi arnoldo

Sorry for the inconvenience often I edit and recompile the method to remove a breakpoint.
In P12 we redid all this part.
this is the first time I see this.
Which version of pharo are you using?

On 5 Apr 2024, at 11:16, Haroldo Stenger haroldo.stenger@gmail.com wrote:

hi nice pharo people

I'm doing my very initial attempts in Pharo. Having read something
here and there.
Now I've put myself to subclass BlElement in order to add a method of
myself to this subclass.
The subclass got named 'Circulo'. Then I had a hard time trying to
create a protocol to 'host' it, but finally it got created as protocol
'a'. Initially it got created in the third pane in the browser, below
without any apparent 'breakpoint hierarchy'. However, as soon as I
wrote the method and got to save/accept it, something strange
happened, namely, 'brakepoint' protocol was created out of nothing ,
and my 'a' protocol was put under it. The method itself in the fourth
pane, has a red ! sign. If I right click on the method, and try to
remove the breakpoint, it does nothing. What happens this and how can
I have a normal situation , since I did not put breakpoints ? Thanks
for your kind help


Stéphane Ducasse
http://stephane.ducasse.free.fr
06 30 93 66 73

"If you knew today was your last day on earth, what would you do differently? ....ESPECIALLY if, by doing something different, today might not be your last day on earth.” Calvin & Hobbes

Hi arnoldo Sorry for the inconvenience often I edit and recompile the method to remove a breakpoint. In P12 we redid all this part. this is the first time I see this. Which version of pharo are you using? - Did you see the vides in the first week of the mooc? because they explain the IDE. http://mooc.pharo.org - You can have support if you ask in the discord channel https://discord.gg/QewZMZa - for Bloc there is separate mailing-list lse-openbloc <lse-openbloc@inria.fr> you can register at http://sympa.inria.fr > On 5 Apr 2024, at 11:16, Haroldo Stenger <haroldo.stenger@gmail.com> wrote: > > hi nice pharo people > > I'm doing my very initial attempts in Pharo. Having read something > here and there. > Now I've put myself to subclass BlElement in order to add a method of > myself to this subclass. > The subclass got named 'Circulo'. Then I had a hard time trying to > create a protocol to 'host' it, but finally it got created as protocol > 'a'. Initially it got created in the third pane in the browser, below > without any apparent 'breakpoint hierarchy'. However, as soon as I > wrote the method and got to save/accept it, something strange > happened, namely, 'brakepoint' protocol was created out of nothing , > and my 'a' protocol was put under it. The method itself in the fourth > pane, has a red ! sign. If I right click on the method, and try to > remove the breakpoint, it does nothing. What happens this and how can > I have a normal situation , since I did not put breakpoints ? Thanks > for your kind help  Stéphane Ducasse http://stephane.ducasse.free.fr 06 30 93 66 73 "If you knew today was your last day on earth, what would you do differently? ....ESPECIALLY if, by doing something different, today might not be your last day on earth.” Calvin & Hobbes
HS
Haroldo Stenger
Mon, Apr 8, 2024 11:41 PM

hi dear Stéphane

thank you very much for your mail.

I first have to say that I could already pass over this.
The problem that originated the red ! in the method pane, or better, what
made it disappear, was that x and y were originally written as instance
variables without any initialization in an initialize method. It was a
weird effect so to say, that a uninitialized variables made this , making
one (me )  think that this was a breakpoint, which in the end , wasn't.
What added to making me think this, was the red breakpoint label in the
protocols pane, which in addition , I misperceived was parenting the 'a'
protocol, when in fact was simply a sibling. The third thing that misguided
me, was that breakpoints are marked in several parts of the system browser
as red !, even the right click menu on the method.  However , it was the
other issue of uninitialized variables.  I'll try to redo and isolate this
, both in Pharo 11 and 12 snapshot in order to help polish the UI, if
that's of any value.

I appreaciate a lot that you redirect me to Bloc list, bc I was afraid of
going there with such a newbe issue, which by the way I still didn't get
right (putting one little square along the circumference). Just a toy
approach on my part in order to learn both Pharo and Bloc. But maybe I'm
hittiong against some rough part of Bloc, which has to do with 'refreshes'
. I still coudn't make the squares render.  I'll report back on this later
in the week, maybe also in the Pharo list.
You always encourage to ask and I value that a lot! I did that also in
discord channel.
best regards
Haroldo

El dom, 7 abr 2024 a la(s) 5:38 p.m., stephane ducasse (
stephane.ducasse@inria.fr) escribió:

Hi arnoldo

Sorry for the inconvenience often I edit and recompile the method to
remove a breakpoint.
In P12 we redid all this part.
this is the first time I see this.
Which version of pharo are you using?

On 5 Apr 2024, at 11:16, Haroldo Stenger haroldo.stenger@gmail.com
wrote:

hi nice pharo people

I'm doing my very initial attempts in Pharo. Having read something
here and there.
Now I've put myself to subclass BlElement in order to add a method of
myself to this subclass.
The subclass got named 'Circulo'. Then I had a hard time trying to
create a protocol to 'host' it, but finally it got created as protocol
'a'. Initially it got created in the third pane in the browser, below
without any apparent 'breakpoint hierarchy'. However, as soon as I
wrote the method and got to save/accept it, something strange
happened, namely, 'brakepoint' protocol was created out of nothing ,
and my 'a' protocol was put under it. The method itself in the fourth
pane, has a red ! sign. If I right click on the method, and try to
remove the breakpoint, it does nothing. What happens this and how can
I have a normal situation , since I did not put breakpoints ? Thanks
for your kind help
[image: image.png]

Stéphane Ducasse
http://stephane.ducasse.free.fr
06 30 93 66 73

"If you knew today was your last day on earth, what would you do
differently? ....ESPECIALLY if, by doing something different, today
might not be your last day on earth.” Calvin & Hobbes

hi dear Stéphane thank you very much for your mail. I first have to say that I could already pass over this. The problem that originated the red ! in the method pane, or better, what made it disappear, was that x and y were originally written as instance variables without any initialization in an initialize method. It was a weird effect so to say, that a uninitialized variables made this , making one (me ) think that this was a breakpoint, which in the end , wasn't. What added to making me think this, was the red breakpoint label in the protocols pane, which in addition , I misperceived was parenting the 'a' protocol, when in fact was simply a sibling. The third thing that misguided me, was that breakpoints are marked in several parts of the system browser as red !, even the right click menu on the method. However , it was the other issue of uninitialized variables. I'll try to redo and isolate this , both in Pharo 11 and 12 snapshot in order to help polish the UI, if that's of any value. I appreaciate a lot that you redirect me to Bloc list, bc I was afraid of going there with such a newbe issue, which by the way I still didn't get right (putting one little square along the circumference). Just a toy approach on my part in order to learn both Pharo and Bloc. But maybe I'm hittiong against some rough part of Bloc, which has to do with 'refreshes' . I still coudn't make the squares render. I'll report back on this later in the week, maybe also in the Pharo list. You always encourage to ask and I value that a lot! I did that also in discord channel. best regards Haroldo El dom, 7 abr 2024 a la(s) 5:38 p.m., stephane ducasse ( stephane.ducasse@inria.fr) escribió: > Hi arnoldo > > Sorry for the inconvenience often I edit and recompile the method to > remove a breakpoint. > In P12 we redid all this part. > this is the first time I see this. > Which version of pharo are you using? > > - Did you see the vides in the first week of the mooc? because they > explain the IDE. > http://mooc.pharo.org > - You can have support if you ask in the discord channel > https://discord.gg/QewZMZa > > - for Bloc there is separate mailing-list > lse-openbloc <lse-openbloc@inria.fr> > you can register at http://sympa.inria.fr > > > On 5 Apr 2024, at 11:16, Haroldo Stenger <haroldo.stenger@gmail.com> > wrote: > > hi nice pharo people > > I'm doing my very initial attempts in Pharo. Having read something > here and there. > Now I've put myself to subclass BlElement in order to add a method of > myself to this subclass. > The subclass got named 'Circulo'. Then I had a hard time trying to > create a protocol to 'host' it, but finally it got created as protocol > 'a'. Initially it got created in the third pane in the browser, below > without any apparent 'breakpoint hierarchy'. However, as soon as I > wrote the method and got to save/accept it, something strange > happened, namely, 'brakepoint' protocol was created out of nothing , > and my 'a' protocol was put under it. The method itself in the fourth > pane, has a red ! sign. If I right click on the method, and try to > remove the breakpoint, it does nothing. What happens this and how can > I have a normal situation , since I did not put breakpoints ? Thanks > for your kind help > [image: image.png] > > > Stéphane Ducasse > http://stephane.ducasse.free.fr > 06 30 93 66 73 > > "If you knew today was your last day on earth, what would you do > differently? ....ESPECIALLY if, by doing something different, today > might not be your last day on earth.” Calvin & Hobbes > > > > > >
SD
stephane ducasse
Sun, Apr 14, 2024 6:13 PM

On 9 Apr 2024, at 01:41, Haroldo Stenger haroldo.stenger@gmail.com wrote:

hi dear Stéphane

thank you very much for your mail.

I first have to say that I could already pass over this.
The problem that originated the red ! in the method pane, or better, what made it disappear, was that x and y were originally written as instance variables without any initialization in an initialize method. It was a weird effect so to say, that a uninitialized variables made this , making one (me )  think that this was a breakpoint, which in the end , wasn't.  What added to making me think this, was the red breakpoint label in the protocols pane, which in addition , I misperceived was parenting the 'a' protocol, when in fact was simply a sibling. The third thing that misguided me, was that breakpoints are marked in several parts of the system browser as red !, even the right click menu on the method.  However , it was the other issue of uninitialized variables.  I'll try to redo and isolate this , both in Pharo 11 and 12 snapshot in order to help polish the UI, if that's of any value.

Always :)

I appreaciate a lot that you redirect me to Bloc list, bc I was afraid of going there with such a newbe issue, which by the way I still didn't get right (putting one little square along the circumference). Just a toy approach on my part in order to learn both Pharo and Bloc. But maybe I'm hittiong against some rough part of Bloc, which has to do with 'refreshes' . I still coudn't make the squares render.  I'll report back on this later in the week, maybe also in the Pharo list.

I will start to work on a little tutorial to build a clock in Bloc based on the work on Renaud and I will add it to the Bloc
chapter. A general problem about software is that it is often fun to develop but people forget the documentation part.

So I will try to learn bloc and write what I understand and share it.

S

You always encourage to ask and I value that a lot! I did that also in discord channel.
best regards
Haroldo

El dom, 7 abr 2024 a la(s) 5:38 p.m., stephane ducasse (stephane.ducasse@inria.fr mailto:stephane.ducasse@inria.fr) escribió:

Hi arnoldo

Sorry for the inconvenience often I edit and recompile the method to remove a breakpoint.
In P12 we redid all this part.
this is the first time I see this.
Which version of pharo are you using?

On 5 Apr 2024, at 11:16, Haroldo Stenger <haroldo.stenger@gmail.com mailto:haroldo.stenger@gmail.com> wrote:

hi nice pharo people

I'm doing my very initial attempts in Pharo. Having read something
here and there.
Now I've put myself to subclass BlElement in order to add a method of
myself to this subclass.
The subclass got named 'Circulo'. Then I had a hard time trying to
create a protocol to 'host' it, but finally it got created as protocol
'a'. Initially it got created in the third pane in the browser, below
without any apparent 'breakpoint hierarchy'. However, as soon as I
wrote the method and got to save/accept it, something strange
happened, namely, 'brakepoint' protocol was created out of nothing ,
and my 'a' protocol was put under it. The method itself in the fourth
pane, has a red ! sign. If I right click on the method, and try to
remove the breakpoint, it does nothing. What happens this and how can
I have a normal situation , since I did not put breakpoints ? Thanks
for your kind help
<image.png>

Stéphane Ducasse
http://stephane.ducasse.free.fr http://stephane.ducasse.free.fr/
06 30 93 66 73

"If you knew today was your last day on earth, what would you do differently? ....ESPECIALLY if, by doing something different, today might not be your last day on earth.” Calvin & Hobbes

Stéphane Ducasse
http://stephane.ducasse.free.fr
06 30 93 66 73

"If you knew today was your last day on earth, what would you do differently? ....ESPECIALLY if, by doing something different, today might not be your last day on earth.” Calvin & Hobbes

> On 9 Apr 2024, at 01:41, Haroldo Stenger <haroldo.stenger@gmail.com> wrote: > > hi dear Stéphane > > thank you very much for your mail. > > I first have to say that I could already pass over this. > The problem that originated the red ! in the method pane, or better, what made it disappear, was that x and y were originally written as instance variables without any initialization in an initialize method. It was a weird effect so to say, that a uninitialized variables made this , making one (me ) think that this was a breakpoint, which in the end , wasn't. What added to making me think this, was the red breakpoint label in the protocols pane, which in addition , I misperceived was parenting the 'a' protocol, when in fact was simply a sibling. The third thing that misguided me, was that breakpoints are marked in several parts of the system browser as red !, even the right click menu on the method. However , it was the other issue of uninitialized variables. I'll try to redo and isolate this , both in Pharo 11 and 12 snapshot in order to help polish the UI, if that's of any value. Always :) > I appreaciate a lot that you redirect me to Bloc list, bc I was afraid of going there with such a newbe issue, which by the way I still didn't get right (putting one little square along the circumference). Just a toy approach on my part in order to learn both Pharo and Bloc. But maybe I'm hittiong against some rough part of Bloc, which has to do with 'refreshes' . I still coudn't make the squares render. I'll report back on this later in the week, maybe also in the Pharo list. I will start to work on a little tutorial to build a clock in Bloc based on the work on Renaud and I will add it to the Bloc chapter. A general problem about software is that it is often fun to develop but people forget the documentation part. So I will try to learn bloc and write what I understand and share it. S > You always encourage to ask and I value that a lot! I did that also in discord channel. > best regards > Haroldo > > El dom, 7 abr 2024 a la(s) 5:38 p.m., stephane ducasse (stephane.ducasse@inria.fr <mailto:stephane.ducasse@inria.fr>) escribió: >> Hi arnoldo >> >> Sorry for the inconvenience often I edit and recompile the method to remove a breakpoint. >> In P12 we redid all this part. >> this is the first time I see this. >> Which version of pharo are you using? >> >> - Did you see the vides in the first week of the mooc? because they explain the IDE. >> http://mooc.pharo.org <http://mooc.pharo.org/> >> - You can have support if you ask in the discord channel >> https://discord.gg/QewZMZa >> >> - for Bloc there is separate mailing-list >> lse-openbloc <lse-openbloc@inria.fr <mailto:lse-openbloc@inria.fr>> >> you can register at http://sympa.inria.fr <http://sympa.inria.fr/> >> >> >>> On 5 Apr 2024, at 11:16, Haroldo Stenger <haroldo.stenger@gmail.com <mailto:haroldo.stenger@gmail.com>> wrote: >>> >>> hi nice pharo people >>> >>> I'm doing my very initial attempts in Pharo. Having read something >>> here and there. >>> Now I've put myself to subclass BlElement in order to add a method of >>> myself to this subclass. >>> The subclass got named 'Circulo'. Then I had a hard time trying to >>> create a protocol to 'host' it, but finally it got created as protocol >>> 'a'. Initially it got created in the third pane in the browser, below >>> without any apparent 'breakpoint hierarchy'. However, as soon as I >>> wrote the method and got to save/accept it, something strange >>> happened, namely, 'brakepoint' protocol was created out of nothing , >>> and my 'a' protocol was put under it. The method itself in the fourth >>> pane, has a red ! sign. If I right click on the method, and try to >>> remove the breakpoint, it does nothing. What happens this and how can >>> I have a normal situation , since I did not put breakpoints ? Thanks >>> for your kind help >>> <image.png> >> >> Stéphane Ducasse >> http://stephane.ducasse.free.fr <http://stephane.ducasse.free.fr/> >> 06 30 93 66 73 >> >> "If you knew today was your last day on earth, what would you do differently? ....ESPECIALLY if, by doing something different, today might not be your last day on earth.” Calvin & Hobbes >> >> >> >> >> Stéphane Ducasse http://stephane.ducasse.free.fr 06 30 93 66 73 "If you knew today was your last day on earth, what would you do differently? ....ESPECIALLY if, by doing something different, today might not be your last day on earth.” Calvin & Hobbes