ZeroBrane удаленная отладка
Я использовал ZeroBrane в Windows для удаленной отладки моей программы в Linux.
Моя программа вызывает Луа из C++.
Но точка останова не может быть достигнута.
ZeroBrane выход, как показано ниже:
Debugger server started at AGOC3-706:8172.
[192.168.88.238:47444] Debugger sent (command): basedir D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\
New base directory is D:/WorkSpace/sichuan/branches/v1.0.1-2017-07-12/lua/
[192.168.88.238:47444] Debugger received (file, line, err): nil nil nil
[192.168.88.238:47444] Debugger sent (command): delallb
[192.168.88.238:47444] Debugger received (file, line, err): nil nil nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 1
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 1 nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 37
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 37 nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 305
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 305 nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 831
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 831 nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 1718
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 1718 nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 3441
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 3441 nil
[192.168.88.238:47444] Debugger sent (command): load D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua
[192.168.88.238:47444] Debugger received (file, line, err): lua/hall2/main.lua 2 nil
[192.168.88.238:47444] Debugger sent (command): basedir D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\ lua/
New base directory is D:/WorkSpace/sichuan/branches/v1.0.1-2017-07-12/lua/
[192.168.88.238:47444] Debugger received (file, line, err): nil nil nil
[192.168.88.238:47444] Debugger sent (command): delallb
[192.168.88.238:47444] Debugger received (file, line, err): nil nil nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 1
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 1 nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 37
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 37 nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 305
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 305 nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 831
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 831 nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 1718
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 1718 nil
[192.168.88.238:47444] Debugger sent (command): setb D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\hall2\hall.lua 3441
[192.168.88.238:47444] Debugger received (file, line, err): hall2/hall.lua 3441 nil
Mapped remote request for 'lua/' to 'D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\'.
Debugging session started in 'D:\WorkSpace\sichuan\branches\v1.0.1-2017-07-12\lua\'.
[192.168.88.238:47444] Debugger sent (command): run
1 ответ
Трудно сказать, почему он может не работать, не имея более подробной информации о вашей настройке (версия IDE, версия отладчика, который вы используете удаленно, каталог, в котором вы запускаете отладчик в Linux), но некоторые причины, по которым точки останова могут не сработавшие перечислены в FAQ. Если вы не используете последнюю версию IDE (v1.60), я бы попробовал с ней, а также удостоверился бы, что отладчик (mobdebug.lua), который вы используете удаленно, также приходит из этого выпуска.