Outputting Debugging Information
Writing text to the Output window at runtime is easy. You simply replace calls to Console.WriteLine() with the required call to write text where you want it. There are two commands you can use...
WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('in-progress') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1
WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1
Debugging and Error Handling
Writing text to the Output window at runtime is easy. You simply replace calls to Console.WriteLine() with the required call to write text where you want it. There are two commands you can use...
One of the commands you ’ ve been using throughout other examples is the Console.WriteLine() function, which outputs text to the console. As you are developing applications, this function comes in handy for getting...