[7.5.2 Bug] Array's should not implement this method

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

[7.5.2 Bug] Array's should not implement this method

Postby quixotik » Wed Nov 28, 2007 2:21 am

Hi,

In the SstDebugger I get a very annoying bug when I have several processes listed.

To reproduce it, just select "Drop to selected frame" on one of the processes and resume. That should give you the error.

The selectedSessions in the debugger instance seems to be an Array, possibly because of initializing it with the result of EwListSelectionCallbackData>>getSelectedItems, which is indeed an Array.
Maybe converting that to an OrderedCollection would do the trick.

Regards, Robin
quixotik
 
Posts: 10
Joined: Thu Nov 16, 2006 6:20 am
Location: Belgium

Postby wembley » Thu Nov 29, 2007 10:35 am

Robin -

I have reproduced your walkback and I can provide you a fix. Try replacing DbgDebugger>>#selectedSessions: with the following code:
Code: Select all
selectedSessions: aCollectionOfSessions

   "Set the receiver's selected debug sessions to @aCollectionOfSessions.
    Since we may want to remove items from the collection of debug
    sessions, make sure it is an OrderedCollection."

   selectedSessions := aCollectionOfSessions asOrderedCollection
Last edited by wembley on Wed Dec 12, 2007 11:53 am, edited 2 times in total.
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
wembley
Moderator
 
Posts: 405
Joined: Mon Oct 16, 2006 3:01 am
Location: Durham, NC

Postby wembley » Wed Dec 12, 2007 11:43 am

Case 32959 has been opened -- the fix will be in the next release.
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
wembley
Moderator
 
Posts: 405
Joined: Mon Oct 16, 2006 3:01 am
Location: Durham, NC


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest