LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Execution suspended without breakpoint or error

I'm running LabWindows/CVI 9.0 and I'm having a really weird problem. I have not set a breakpoint, but every time I call a certain function (nc_open, opens a netCDF file), the execution breaks. It breaks several times, but never displays an error. I'm assuming that there's some kind of error in the library that I'm calling, since it only everhappens if I give it a valid netCDF file, but I'm not really sure where to go from here in debugging the code - is there a way to get the error from this, if there is one?

0 Kudos
Message 1 of 4
(3,205 Views)

Can you look at the Watch window?

 

Maybe you have added the file handle variable to the Watch window and configured it to break when its value changes.

 

If you have the file handle in Watch window, delete it and re-try.

 

Hope this helps,

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 4
(3,198 Views)

Or this could be an exception.

If Run > Break on > First Chance Exceptions is checked try what happens if you turn it off.

-----------------------
/* Nothing past this point should fail if the code is working as intended */
0 Kudos
Message 3 of 4
(3,189 Views)

I turned off everything under "Break On" and there was no change in the behavior. I did manage to fix it, but only by solving the underlying error somehow. My best guess is that when I created and saved a custom variable type in the netCDF file I did it wrong somehow and created files that were mangled somehow. Other netcdf-4 features work, so I think it was probably my error. I guess I don't mind that it got fixed, but it's still a bit disturbing that it was breaking on errors and not reporting them to me somehow.

0 Kudos
Message 4 of 4
(3,178 Views)