comparison src/codeview/codeview.d @ 4:a5fb1bc967e6

- = command does not need space after it - before using r command, ov command runs the program and stops at main - more source file lines are shown at each step
author marton@basel.hu
date Sun, 10 Apr 2011 12:15:04 +0200
parents 4a9dcbd9e54f
children 496dfd8f7342
comparison
equal deleted inserted replaced
3:47dd986a534e 4:a5fb1bc967e6
315 string file = join(file_line[0..$-1], ":"), 315 string file = join(file_line[0..$-1], ":"),
316 line = file_line[$-1]; 316 line = file_line[$-1];
317 317
318 if ( find(file, '/') >= 0 ) 318 if ( find(file, '/') >= 0 )
319 file = replace(file, "/", "\\"); 319 file = replace(file, "/", "\\");
320 320 debug DbgIO.println("searching in %s", file);
321 SourceFile[] sfs = images.findSrcFiles(file); 321 SourceFile[] sfs = images.findSrcFiles(file);
322 if ( sfs.length == 0 ) 322 if ( sfs.length == 0 )
323 sfs = images.findSrcFiles(file, source_search_paths); 323 sfs = images.findSrcFiles(file, source_search_paths);
324 if ( sfs.length == 0 ) { 324 if ( sfs.length == 0 ) {
325 DbgIO.println("Source file \"%s\" not found", file); 325 DbgIO.println("Source file \"%s\" not found", file);