Skip to content

Commit 0bcd739

Browse files
committed
Update README
1 parent efb23fe commit 0bcd739

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

samples/NativeAOT/README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ Once `lldb-server` is up and running, you will want to run up the app using the
2323
adb shell am start -S --user "0" -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "net.dot.hellonativeaot/my.MainActivity" -D
2424
```
2525

26-
The `-D` is important as it stops the app from running until the java debugger is attached.
26+
The `-D` is important as it stops the app from running until the java debugger is attached. If you do not want to the app to pause on startup, you can omit the `-D` argument.
27+
2728
Now that the app is running we need to get the process id.
2829

2930
```dotnetcli
@@ -45,11 +46,11 @@ lldb
4546
> target create samples/NativeAOT/bin/Debug/net10.0-android/android-arm64/native/NativeAOT.so
4647
> target symbols add samples/NativeAOT/bin/Debug/net10.0-android/android-arm64/native/NativeAOT.so.dbg
4748
> target select 0
48-
> attach --pid <processid>
49+
> process attach --pid <processid>
4950
```
5051

51-
Next you need to attach the java debugger to clear the dialog which is currently blocking the
52-
application execution.
52+
Next you need to attach the java debugger to clear the dialog which is currently blocking the application execution. You can skip this step if you omited the `-D` when
53+
launching the activity.
5354

5455
```dotnetcli
5556
adb forward --remove tcp:8700

0 commit comments

Comments
 (0)