Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jan 17, 2020
1 parent 656fac1 commit 3108a6b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl Worker {
};

if let Ok(msg) = message {
eprintln!("[i] message ok");
eprintln!("[i] message ok {}", msg);
let mut i = isolate_.try_lock().unwrap();
i.inspector_message(msg);
}
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ libc = "0.2.66"
log = "0.4.8"
serde_json = "1.0.44"
url = "2.1.0"
rusty_v8 = { version = "0.0.25", path = "../../rusty_v8" }
rusty_v8 = { path = "../../rusty_v8" }

[[example]]
name = "deno_core_http_bench"
Expand Down
4 changes: 1 addition & 3 deletions core/isolate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -500,10 +500,8 @@ impl Isolate {
eprintln!("before message");
let message = &message.into_bytes()[..];
let string_view = v8::inspector::StringView::from(message);
let mut string_buffer =
v8::inspector::StringBuffer::create(&string_view).unwrap();
eprintln!("before dispatch protocol message");
session.dispatch_protocol_message(&mut string_buffer);
session.dispatch_protocol_message(&string_view);
eprintln!("after dispatch protocol message");
// let task_runner = platform::get_foreground_task_runner(self);
// let task = DispatchOnInspectorBackendTask::new(session, message);
Expand Down

0 comments on commit 3108a6b

Please sign in to comment.