@@ -143,7 +143,6 @@ module.exports.create = function(logger_, config_, fileStats_) {
143143 messages . ERROR_COMPILING_CONDITION ) ;
144144 }
145145 }
146- // TODO: more robust file finding of compiled files
147146 scriptPath = scriptPath . substr ( 0 , scriptPath . lastIndexOf ( '.' ) ) + '.js' ;
148147 var mappingUrl = scriptPath + '.map' ;
149148
@@ -231,7 +230,6 @@ module.exports.create = function(logger_, config_, fileStats_) {
231230 function setInternal ( breakpoint , scriptPath , compile , cb ) {
232231 // Parse and validate conditions and watch expressions for correctness and
233232 // immutability
234- // TODO: make it an option for users to disable validation
235233 var ast = null ;
236234 if ( breakpoint . condition ) {
237235 var acorn = require ( 'acorn' ) ;
@@ -273,9 +271,6 @@ module.exports.create = function(logger_, config_, fileStats_) {
273271 StatusMessage . BREAKPOINT_SOURCE_LOCATION ,
274272 messages . SOURCE_FILE_AMBIGUOUS ) ;
275273 }
276- // TODO: need to cleanup the above
277- // TODO: need test coverage for the above
278- // TODO: work with debug server to come up with a more robust solution
279274
280275 if ( breakpoint . location . line >= fileStats [ matchingScript ] . lines ) {
281276 return setErrorStatusAndCallback ( cb , breakpoint ,
@@ -509,7 +504,6 @@ module.exports.create = function(logger_, config_, fileStats_) {
509504 return { value : true } ;
510505 }
511506
512- // TODO: we already parsed breakpoint.condition before -- pass it somehow
513507 var result = state . evaluate ( breakpoint . condition , execState . frame ( 0 ) ) ;
514508
515509 if ( result . error ) {
0 commit comments