A method for forming a prosthetic mesh (1; 28) having at least a barbed suture (10; 10') attached thereto, said barbed suture (10; 10') comprising an elongate body (9; 9') provided with barbs (8; 8') extending substantially radially out from said elongate body (9; 9'), said method comprising the following steps: a) producing a knitted structure (2; 27) on a warp knitting machine comprising at least one needle-bed comprising at least three guide bars, a first guide bar a second guide bar and a third guide bar, said first guide bar being threaded with first yarns of a biocompatible material, said second guide bar being threaded with second yarns of a biocompatible material, said third guide bar being threaded with third yarns of a biocompatible material, said knitted structure being produced on a determined length along the warp direction corresponding to a total number of N stitches ranging from 1 to N completed along said warp direction by the machine, N being an integer above 7, wherein a)i) a first knit portion (13; 22) is produced along stitches ranging from 1 to x, where 1<x<N, in which the knitting patterns followed by the first, the second and the third guide bars (B1, B2, B3) produce an openworked knit capable of favoring cellular growth, characterized in that the method further comprises the following steps: a)ii) a second knit portion (12; 24) is produced for stitches ranging from (x+1) to N, in which the knitting pattern followed by said second and third guide bars (B2, B3) produces chain stitches and the knitting pattern followed by the first guide bar produces at least a partial weft in which said first yarns complete weft stitches with at least one of said chain stitches, thereby producing at least one weft stitched chain stitch, - b) cutting the second knit portion (12; 24) along the warp direction on both sides of said at least one weft stitched chain stitch and along an edge (14; 26) separating the second knit portion (12; 24) from the first knit portion (13; 22), so as to remove the second knit portion (12; 24) from the knitted structure (2; 27) while maintaining said weft stitched chain stitch attached to the first knit portion (13; 22), wherein the first knit portion (13; 22) forms the prosthetic mesh (1; 28) and the second or third yarn forming part of said at least one weft stitched chain stitch forms said elongate body of said barbed suture attached thereto, the first yarns cuts extending from said weft stitches of said at least one weft stitched chain stitch forming said barbs of said barbed suture. a) producing a knitted structure (2; 27) on a warp knitting machine comprising at least one needle-bed comprising at least three guide bars, a first guide bar a second guide bar and a third guide bar, said first guide bar being threaded with first yarns of a biocompatible material, said second guide bar being threaded with second yarns of a biocompatible material, said third guide bar being threaded with third yarns of a biocompatible material, said knitted structure being produced on a determined length along the warp direction corresponding to a total number of N stitches ranging from 1 to N completed along said warp direction by the machine, N being an integer above 7, wherein a)i) a first knit portion (13; 22) is produced along stitches ranging from 1 to x, where 1<x<N, in which the knitting patterns followed by the first, the second and the third guide bars (B1, B2, B3) produce an openworked knit capable of favoring cellular growth, characterized in that the method further comprises the following steps: a)ii) a second knit portion (12; 24) is produced for stitches ranging from (x+1) to N, in which the knitting pattern followed by said second and third guide bars (B2, B3) produces chain stitches and the knitting pattern followed by the first guide bar produces at least a partial weft in which said first yarns complete weft stitches with at least one of said chain stitches, thereby producing at least one weft stitched chain stitch, - b) cutting the second knit portion (12; 24) along the warp direction on both sides of said at least one weft stitched chain stitch and along an edge (14; 26) separating the second knit portion (12; 24) from the first knit portion (13; 22), so as to remove the second knit portion (12; 24) from the knitted structure (2; 27) while maintaining said weft stitched chain stitch attached to the first knit portion (13; 22),