pgi debug can not reload source

pgi debug can not load source, how to use pgi debug to debug a program

Hi yaoshunyu,

You can find documentation on how to use PGDBG at: https://www.pgroup.com/resources/docs/19.9/x86/pgdbg-user-guide/index.htm

-Mat

I follow the document to do ,but when I print"pgdbg massflow",just popup the debug window , can not debug ,All the buttons are useless

Hi yaoshunyu,

Did you compile and link with the “-g” (debug) flag? Did you use PGI to link your executable?

Are you running the binary in the same directory where it was built? If not, you may need to copy the debug symbol files, “.dwf” and “.pdb”, to the same directory where you’ve moved the executable.

-Mat