Skip to content

debugging GCHP #482

@kaysuselj

Description

@kaysuselj

Your name

kay suselj

Your affiliation

JPL

Please provide a clear and concise description of your question or discussion topic.

I am trying to use the gdb debugger on Pleiades to debug GCHP, specifically to set a breakpoint and halt execution at a specific line in the code. However, I have not been successful so far.

I compile the code using the -DCMAKE_BUILD_TYPE=Debug option (with cmake), but when I set a breakpoint in gdb, the program crashes upon execution. Is there an additional compilation flag or debugging option that I need to enable?

Additionally, I am unable to run GCHP on a single CPU, which would be helpful for debugging. Any suggestions on how to achieve this would be greatly appreciated.

Metadata

Metadata

Assignees

Labels

category: Debug HelpRequest for help debugging GCHPtopic: RuntimeRelated to runtime issues (e.g. simulation stops with error)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions