Refresh view whlie breaking in Visual Studio debugging

Refresh view whlie breaking in Visual Studio debugging

steven_chen1
Collaborator Collaborator
24 Views
1 Reply
Message 1 of 2

Refresh view whlie breaking in Visual Studio debugging

steven_chen1
Collaborator
Collaborator

[ FlexSim 22.1.1 ]

Hello,

When using Visual Studio to debug FlexSim by attaching process, is it possible to refresh FlexSim views while code stops at breakpoint in Visual Studio?

For example function below, output console won't update until code in Visual Studio exits break mode. So the effect of each line of codes won't be visible in FlexSim.

void dllfunction1(FLEXSIMINTERFACE)
{
    print("A");   // breakpoint here
    print("B");
}
0 Likes
Accepted solutions (1)
25 Views
1 Reply
Reply (1)
Message 2 of 2

philboboADSK
Autodesk
Autodesk
Accepted solution

No. When you hit a breakpoint in Visual Studio, the program is halted on that line. FlexSim isn't running at that point. It is waiting for you to step through its code.

"Refreshing views" is executing other code. The application can't do that while you've stopped it to debug.



Phil BoBo
Sr. Manager, Software Development
0 Likes