Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document

I am using VS 2017 for coding OpenFast. Every time i place a break point to compile the program, the program continue without stopping at that breakpoint. There is a message appears next to the breakpoint as follows “The breakpoint will not currently be hit. No symbols have been loaded for this document”.
Is there any solution for that?

Dear Mohamed,

You should select and use a Debug version (instead of a Release) version if you want to use breakpoints.

Best regards,

Thank you for considerations

Dear@Jason.Jonkman
I am using VS 2022 to debug OpenFAST 3.5.3 to examine the calculation method of a variable. However, in a debug mode, neither setting breakpoints nor using a pause command is effective. In this mode, the codes automatically complete execution and output the results to a *.out file.

My input parameters, working directory, and code execution status are as shown in the following images.

Despite some effort, I still don’t understand why the debug mode isn’t working. I would appreciate any assistance you can provide.

Best regards,

Dear @Yangyang.Li,

The FUNCTION() you placed the PAUSE statement in is only called when WakeMod = 3; are you using the free-vortex wake model OLAF in these simulations?

Best regards,

Dear @Jason.Jonkman
I didn’t use the OLAF model, so the breakpoints are ineffective, just as you thought. Thank you very much for your help.

Best regards,

1 Like