Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend から ステップイン 実行できるようにする #45

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

s-xix98
Copy link
Owner

@s-xix98 s-xix98 commented Feb 11, 2023

Screen Shot 2023-02-11 at 14 20 05

変更内容

  • ブラウザ で ステップイン 実行できるようにした

なぜ変更したか

動作確認の方法、動作確認した内容

その他、レビューで確認してほしいことなど

@s-xix98 s-xix98 linked an issue Feb 11, 2023 that may be closed by this pull request
@corvvs
Copy link
Collaborator

corvvs commented Feb 11, 2023

これINIT押すと怒られログ出るんだけどどうやって動かすの?

@corvvs
Copy link
Collaborator

corvvs commented Feb 11, 2023

backend   | init
backend   | objdump: './app/target': No such file
backend   | --- PRINT_FUNC_LST ---
backend   | 
backend   | --- START ---
backend   | get_regs nifKl72BnEdsDfvQAAAD
backend   | Task exception was never retrieved
backend   | future: <Task finished name='Task-60' coro=<AsyncServer._handle_event_internal() done, defined at /usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py:522> exception=ExceptionPexpect('The command was not found or was not executable: ./app/de.')>
backend   | Traceback (most recent call last):
backend   |   File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py", line 524, in _handle_event_internal
backend   |     r = await server._trigger_event(data[0], namespace, sid, *data[1:])
backend   |   File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py", line 558, in _trigger_event
backend   |     ret = await handler(*args)
backend   |   File "/workdir/main.py", line 37, in init
backend   |     g_de_proc.de_start()
backend   |   File "/workdir/de_ctl.py", line 21, in de_start
backend   |     self.connection = pexpect.spawn(f"./app/de {self.target_path}", encoding="utf-8")
backend   |   File "/usr/local/lib/python3.10/dist-packages/pexpect/pty_spawn.py", line 205, in __init__
backend   |     self._spawn(command, args, preexec_fn, dimensions)
backend   |   File "/usr/local/lib/python3.10/dist-packages/pexpect/pty_spawn.py", line 276, in _spawn
backend   |     raise ExceptionPexpect('The command was not found or was not ' +
backend   | pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: ./app/de.
backend   | Task exception was never retrieved
backend   | future: <Task finished name='Task-62' coro=<AsyncServer._handle_event_internal() done, defined at /usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py:522> exception=FileNotFoundError(2, 'No such file or directory')>
backend   | Traceback (most recent call last):
backend   |   File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py", line 524, in _handle_event_internal
backend   |     r = await server._trigger_event(data[0], namespace, sid, *data[1:])
backend   |   File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py", line 558, in _trigger_event
backend   |     ret = await handler(*args)
backend   |   File "/workdir/main.py", line 52, in get_regs
backend   |     with open("json/de_output/regs.json") as f:
backend   | FileNotFoundError: [Errno 2] No such file or directory: 'json/de_output/regs.json'
backend   | get_code nifKl72BnEdsDfvQAAAD
backend   | Task exception was never retrieved
backend   | future: <Task finished name='Task-64' coro=<AsyncServer._handle_event_internal() done, defined at /usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py:522> exception=FileNotFoundError(2, 'No such file or directory')>
backend   | Traceback (most recent call last):
backend   |   File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py", line 524, in _handle_event_internal
backend   |     r = await server._trigger_event(data[0], namespace, sid, *data[1:])
backend   |   File "/usr/local/lib/python3.10/dist-packages/socketio/asyncio_server.py", line 558, in _trigger_event
backend   |     ret = await handler(*args)
backend   |   File "/workdir/main.py", line 60, in get_code
backend   |     with open("json/de_output/code.json") as f:
backend   | FileNotFoundError: [Errno 2] No such file or directory: 'json/de_output/code.json'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

frontend から ステップイン 実行できるようにする
2 participants