Transcriptions of the Kirk Session records for Dumfries, Troqueer and Mouswald are available online. The search fields are quite simple
Dates (a range of dates from 1689 - 1838)
There are more advanced search fields, but it is not necessary to fill these in.
In the Kirk Session Records, you will find pleas of poverty, those rebuked and fined for irregular marriages and those being named as fathers of illegitimate children.