From: pito <pi...@vo...> - 2012-07-03 16:31:12
|
Keith, > 2) The feature of opening the editor to the line > where an upload error > occurred only works for editors for which the > script knows the > appropriate command line syntax. the PN editor opens and jumps to the line with following command (ie to the line 3) C:\WinAVR\pn\pn.exe --line 3 filename So I added to the edit_file ... elif exename == "pn.exe": cmd = [self.editor, " --line", " " + str(lineno), filename ] ... however it does not even attempts to open the editor when error - ie (ATmega1284P)> #include pytest.frt |D=#include pytest.frt |I=mcudef |I=using device.py for atmega1284p |F=C:\MyCode\AVR\WINAVR\projects\AMFORTH\new_amforth\trunk\tools\pytest.frt ||S| 1|-pytest |S| 2|marker -pytest |S| 3|ggg |E=ggg ?? -13 3 Error: Error in line sent (ATmega1284P)> Any hint? Thanks, p. |