Skip to content

Debug with python interface #884

Answered by Robadob
SYkirk asked this question in Q&A
Jul 12, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Firstly you probably want to build a recent copy of pyflamegpu with SEATBELTS enabled. This runtime error-checking, will throw an exception if you are accessing variables that don't exist and similar. I don't believe this is enabled in the official release builds (@ptheywood can confirm when he's back from leave?), similarly those are now 7 months old so alot of improvements will be missing. (We've been holding off a further release until an academic paper is accepted...)

Three options (assuming you're referring to debugging agent behaviour, rather than compilation errors) in order of ease, these all apply to non-python models too.

  1. printf()

    You can use the C/C++ printf() method to print…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ptheywood
Comment options

Answer selected by SYkirk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants