"printf("line: %d \n", __LINE__);" does not work on System Workbench
http://www.openstm32.org/tiki-view_forum_thread.php?comments_parentId=164
This link may help you.
http://www.openstm32.org/tiki-view_forum_thread.php?comments_parentId=164
This link may help you.