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

Ray debugger stepping between tasks #12075

Merged
merged 43 commits into from
Dec 7, 2020
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
012f74d
First steps for task stepping
pcmoritz Nov 12, 2020
7a2f87e
make it possible to step into ray tasks
pcmoritz Nov 12, 2020
73ae99f
Add return path stepping
pcmoritz Nov 17, 2020
8946b24
update
pcmoritz Nov 17, 2020
b0daefc
speed up
pcmoritz Nov 21, 2020
bf3bec3
remove perf impact if debugger is off and simplify protocol
pcmoritz Nov 21, 2020
4a8e534
Merge branch 'master' into rpdb-task-stepping
pcmoritz Nov 21, 2020
aee6ddf
fix
pcmoritz Nov 21, 2020
5990b47
Merge branch 'rpdb-task-stepping' of github.com:pcmoritz/ray-1 into r…
pcmoritz Nov 21, 2020
7cea3ff
fixes
pcmoritz Nov 21, 2020
64c67ce
add tests
pcmoritz Nov 23, 2020
be843c1
fix tests
pcmoritz Nov 23, 2020
ffa739c
lint
pcmoritz Nov 23, 2020
59c2e88
update
pcmoritz Nov 23, 2020
0436b6c
update
pcmoritz Nov 23, 2020
0735966
update
pcmoritz Nov 23, 2020
8cb17d7
fix java
pcmoritz Nov 23, 2020
07b2c5e
fix java build
pcmoritz Nov 23, 2020
d429caf
Merge branch 'master' into rpdb-task-stepping
pcmoritz Nov 23, 2020
29c8367
fix tests
pcmoritz Nov 23, 2020
1b992ed
more fixes
pcmoritz Nov 24, 2020
5e6cbf9
fix lint
pcmoritz Nov 24, 2020
4df4d4f
lint
pcmoritz Nov 24, 2020
1b98d4b
comments
pcmoritz Nov 24, 2020
7a5dafd
Merge branch 'master' into rpdb-task-stepping
pcmoritz Nov 24, 2020
3a2d3e5
allow more fields for object metadata
pcmoritz Nov 29, 2020
665835f
lint
pcmoritz Nov 29, 2020
f13c36e
Add comment
pcmoritz Nov 29, 2020
31db427
Merge branch 'object-metadata' into rpdb-task-stepping
pcmoritz Nov 29, 2020
6d1c30e
Merge branch 'rpdb-task-stepping' of github.com:pcmoritz/ray-1 into r…
pcmoritz Nov 29, 2020
4f7b7d2
resolve conflicts
pcmoritz Nov 29, 2020
5ccb336
fix
pcmoritz Nov 29, 2020
7e873f3
java lint
pcmoritz Nov 30, 2020
3c66b1d
Merge branch 'object-metadata' into rpdb-task-stepping
pcmoritz Nov 30, 2020
b2962ef
lint
pcmoritz Nov 30, 2020
4240950
fix
pcmoritz Nov 30, 2020
423dfe8
update
pcmoritz Nov 30, 2020
10a3bf7
Merge branch 'master' into rpdb-task-stepping
pcmoritz Nov 30, 2020
c56443a
fixes
pcmoritz Dec 3, 2020
0250e1b
Merge branch 'master' into rpdb-task-stepping
pcmoritz Dec 3, 2020
a599a2c
type stability and docs
pcmoritz Dec 3, 2020
61c29cc
lint
pcmoritz Dec 3, 2020
007ea7e
lint
pcmoritz Dec 3, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
pcmoritz committed Nov 30, 2020
commit 4240950003cf9ddac6669bbde0addcf10a200a74
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public class ObjectSerializer {
private static final byte[] TASK_EXECUTION_EXCEPTION_META = String
.valueOf(ErrorType.TASK_EXECUTION_EXCEPTION.getNumber()).getBytes();

public static final byte OBJECT_METADATA_TYPE_CROSS_LANGUAGE = "XLANG".getBytes();
public static final byte OBJECT_METADATA_TYPE_JAVA = "JAVA".getBytes();
public static final byte OBJECT_METADATA_TYPE_PYTHON = "PYTHON".getBytes();
public static final byte OBJECT_METADATA_TYPE_RAW = "RAW".getBytes();
public static final byte[] OBJECT_METADATA_TYPE_CROSS_LANGUAGE = "XLANG".getBytes();
public static final byte[] OBJECT_METADATA_TYPE_JAVA = "JAVA".getBytes();
public static final byte[] OBJECT_METADATA_TYPE_PYTHON = "PYTHON".getBytes();
public static final byte[] OBJECT_METADATA_TYPE_RAW = "RAW".getBytes();
// A constant used as object metadata to indicate the object is an actor handle.
// This value should be synchronized with the Python definition in ray_constants.py
// TODO(fyrestone): Serialize the ActorHandle via the custom type feature of XLANG.
public static final byte OBJECT_METADATA_TYPE_ACTOR_HANDLE = "ACTOR_HANDLE".getBytes();
public static final byte[] OBJECT_METADATA_TYPE_ACTOR_HANDLE = "ACTOR_HANDLE".getBytes();

// When an outer object is being serialized, the nested ObjectRefs are all
// serialized and the writeExternal method of the nested ObjectRefs are
Expand Down