question

Michael O'Connell avatar image
0 Likes"
Michael O'Connell asked Matthew Gillespie commented

Any thoughts on why I can bring up windows for Local Variables, Watch variables, etc.?

temp-debug.fsm

Attached is an extract from a larger model where I cannot display windows for debugging and events. I can not open them via menu and they don't come up when a breakpoint is encountered. Can anyone duplicate? Any thoughts on how to reenable?

FlexSim 16.1.0
windowsconsoles
temp-debug.fsm (18.2 KiB)
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeff Nordgren avatar image Jeff Nordgren commented ·

@Michael O'Connell

Michael, you're going to have to give more information. Your model has no FlexSim objects in it so it does nothing. So I'm confused as to what you are even asking. Need more clarification.

0 Likes 0 ·
Michael O'Connell avatar image Michael O'Connell Jeff Nordgren commented ·

Sorry, Jeff. Issue was opening other windows/consoles. Flexsim objects seemed to be uninvolved.

0 Likes 0 ·
Sam Stubbs avatar image
2 Likes"
Sam Stubbs answered Matthew Gillespie commented

You had a buggy watch variable window open that was causing weird issues with the views. Not sure what caused it, but by deleting it from the tree the model should be able to open and close windows just fine now. I let one of the developers know, if it happens again, maybe make a note of what happened and we can look into it.

I've reattached the model below.

2468-temp-debug-no-views.fsm


· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

You can run this script to close that window and then reset the UI:

destroyobject(node("VIEW:/active/WatchVariables"));
applicationcommand("opendefaultworkspace");
0 Likes 0 ·
Dash Ballarta avatar image Dash Ballarta Matthew Gillespie ♦♦ commented ·

Is there a command I can run to force open Quick Properties? I think my model is slightly, stuck, I cannot open this window to change attributes (no issues with other toolkit items)

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Dash Ballarta commented ·

I would just reset your view, View - > Open Default Workspace

0 Likes 0 ·
Matt Long avatar image
1 Like"
Matt Long answered

This model file appears to be corrupt. Here's another question that talks about why a model may become corrupt and how to avoid this (when possible).

https://answers.flexsim.com/questions/27522/my-model-wont-openmy-model-is-emptymy-model-crashe.html

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.