Happy & Prosperous New Year everyone!

Doug is right of course, and a 'proper' fix would be good.

However Bernhard's partial work-around enabled me
to see the other Global variables (omitted from
the simple example) which was just what I needed
yesterday, so thanks.

The Menu Command Info->Global Variables also fails; I
suspect that is another manifestation of the same bug.

I also am having problems with Info->Analyze Module crashing.
I have not (yet) isolated a simple example, so don't know if
this has the same underlying cause. Have other people found
it unstable?

Cheers

Robert

Douglas G. Danforth wrote: 

Bernhard and Bob,
Even if you initialize the array Radices with a pointer to a 
valid RadixProc you still get the second trap.
-Doug Danforth

Bernhard Treutwein wrote: 

Hi Bob, 

you're apparently you've triggered a bug in devDebug. 
It does not know how to handle an array of PROCs. 

MODULE DemoTestBug; 

TYPE 
   RadixProc = PROCEDURE (k : INTEGER); 

VAR 
  Radices : POINTER TO ARRAY OF RadixProc; 

PROCEDURE Do*; 
  BEGIN 
      HALT (77) 
END Do; 

BEGIN 
    NEW(Radices,9) 
END DemoTestBug.Do 

This version delays the second trap until zooming into Radices ... 

Bernhard 

----- Original Message ----- From: "Robert" <robert.campbell_@TISCALI.CO.UK> 
To: <BLACKBOX@LISTS.OBERON.CH> 
Sent: Tuesday, January 01, 2008 11:03 AM 
Subject: [BLACKBOX] Trap Windows Trapping 

Hi 

I have a problem with the following module. 
When I execute  <Ctrl>Q DemoTestBug.Do I 
get the expected Trap Window. 

However when I click on the top left blue diamond to 
examine the state of the global variables I get a further 
Trap indicating a bug in DevDebug (?). 

Does anyone know how to fix this problem? 

Regards 

Robert Campbell 

MODULE  DemoTestBug; 

TYPE 
 RadixProc  =  PROCEDURE (k : INTEGER); 

VAR 
 Radices  :  ARRAY  9  OF  RadixProc; 

PROCEDURE  Do*; 
 BEGIN 
   HALT (77) 
 END  Do; 

END  DemoTestBug. 

---- 
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV@LISTS.OBERON.CH 

---- 
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV@LISTS.OBERON.CH 

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV@LISTS.OBERON.CH

  _____  

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.17.13/1205 - Release Date: 31/12/2007 15:32

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV@LISTS.OBERON.CH uqJIkXsWyR3Loh