- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
In System Console, the send_message command can be used to print informative messages in the "Messages" panel. The help for the function says:% help send_message
Sends a message of the given level to the message window. Available levels are info, warning, error, and debug.
Arguments:
<level>
<message>
This works fine the the info, warning and error levels, but each time I use the debug level, nothing happens. I probably have to enable the debug level somewhere to see the messages, but I can't find anything in the documentation about this, nor any global level procedure or variable whose name would suggest it could be used to enable debug messages. Does anyone know how to do this? Right now I'm using the info level, but I'd like to be able to enable/disable the display of some debug messages. I could do my own wrapper around send_message and use a global variable to enable or disable those messages, but if the functionality is there already why not use it... Thanks!
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try to add a file named quartus.ini containing
debug_msg=on in your project folder then have it a go. You may not need to recompile your project but if it does not work, try to recompile it. BR- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I run system console independently from any Quartus project, so I wouldn't know where to put this setting. Anyway I tried to do that in the Quartus project I was working on but it didn't change anything. I'll contact Altera support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Debug level messages are ignored by default. Add the --debug command line argument when you run SystemConsole and you'll see them (and a lot of internal debug messages)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes this works. Thank you! Indeed there are a lot of internal debug messages too, I guess it wasn't really meant to be used by us.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page