![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: EXCEPTION_ACCESS_VIOLATION Topic Summary: Multiple routines looping through baselines seem to have issues. Created On: 24-Mar-2006 00:56 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Edited: 24-Mar-2006 at 01:04 by Scott Covington |
|
![]() |
|
![]() |
|
It seems to be that you cannot have nested 'for baseline in module' loops operating on the same module. The following code fails on the second iteration of the outer loop.
|
|
![]() |
|
![]() |
|
Edited: 24-Mar-2006 at 22:45 by Scott Covington |
|
![]() |
|
![]() |
|
I think you have a bad example. The error is that DOORS is trying to access something that does not exist.
Baselines are snapshots of a module, you don't have baselines within the baselines. However when you open a baseline that becomes the current module. If the inner loop addressed objects the code works quite happily showing the text of the earlier baseline. If you manually open a baseline, and view the baselines it shows all those those of the latest version, not just its predecessors. |
|
![]() |
|
![]() |
|
|
|
![]() |
|
![]() |
|
yes, nested baseline loops are a no-no. So are nested link loops. So are other such nested loops.
Yes, main programs should routinely stage their elements inside a Skip list, THEN parse through the skip list. They don't thus confliect with library functions that also have such loops. Attached find a sample DXL with some nuances. - Louie |
|
![]() |
|
![]() |
|
Scott,
Try this. pragma runLim, 0 Module currentModule = current Module Baseline baseline Module baselineModule for baseline in currentModule do { baselineModule = load (currentModule, baseline, false) showDeletedObjects (true) print (major baseline) "." (minor baseline) " " (suffix baseline) "\n" } close (baselineModule) |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
EXCEPTION_ACCESS_VIOLATION
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.