Pharo 60 need help on When-coding-in-the-debugger-I-get-an-error-sourceNodeExecuted

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

Pharo 60 need help on When-coding-in-the-debugger-I-get-an-error-sourceNodeExecuted

Stephane Ducasse-3
https://pharo.fogbugz.com/f/cases/19661/When-coding-in-the-debugger-I-get-an-error-sourceNodeExecuted

Then I got a really strange problem when I was doing the counter 
execise using the debugger. 


create a Test Case 

TestCase subclass: #CounterTest
    instanceVariableNames: ''
    classVariableNames: ''
    package: 'Counter'

- add 
testValueAtCreation
    self assert: (Counter new count: 10) count equals: 10


- ok to define classes
- define count: in the class Counter
- count: anInteger 
    count := anInteger
- Declare instance variable count

NOW problem 
Instance of class did not understand count
- ok to define it
=> Instance of IRMethod do not understand sourceNodeExecuted

HAnging around instances

==========
Then if I remove the Counter class and relaunch the tests I get 
Instance of anObsoleteCounter did not understand….
Reply | Threaded
Open this post in threaded view
|

Re: Pharo 60 need help on When-coding-in-the-debugger-I-get-an-error-sourceNodeExecuted

Denis Kudriashov
Fixed

2017-02-06 17:55 GMT+01:00 Stephane Ducasse <[hidden email]>:
https://pharo.fogbugz.com/f/cases/19661/When-coding-in-the-debugger-I-get-an-error-sourceNodeExecuted

Then I got a really strange problem when I was doing the counter 
execise using the debugger. 


create a Test Case 

TestCase subclass: #CounterTest
    instanceVariableNames: ''
    classVariableNames: ''
    package: 'Counter'

- add 
testValueAtCreation
    self assert: (Counter new count: 10) count equals: 10


- ok to define classes
- define count: in the class Counter
- count: anInteger 
    count := anInteger
- Declare instance variable count

NOW problem 
Instance of class did not understand count
- ok to define it
=> Instance of IRMethod do not understand sourceNodeExecuted

HAnging around instances

==========
Then if I remove the Counter class and relaunch the tests I get 
Instance of anObsoleteCounter did not understand….

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 60 need help on When-coding-in-the-debugger-I-get-an-error-sourceNodeExecuted

stepharong
super tx denis.

Stef

Fixed

2017-02-06 17:55 GMT+01:00 Stephane Ducasse <[hidden email]>:
https://pharo.fogbugz.com/f/cases/19661/When-coding-in-the-debugger-I-get-an-error-sourceNodeExecuted

Then I got a really strange problem when I was doing the counter 
execise using the debugger. 


create a Test Case 

TestCase subclass: #CounterTest
    instanceVariableNames: ''
    classVariableNames: ''
    package: 'Counter'

- add 
testValueAtCreation
    self assert: (Counter new count: 10) count equals: 10


- ok to define classes
- define count: in the class Counter
- count: anInteger 
    count := anInteger
- Declare instance variable count

NOW problem 
Instance of class did not understand count
- ok to define it
=> Instance of IRMethod do not understand sourceNodeExecuted

HAnging around instances

==========
Then if I remove the Counter class and relaunch the tests I get 
Instance of anObsoleteCounter did not understand….




--
Using Opera's mail client: http://www.opera.com/mail/