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

Update debugging.md #2439

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
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
7 changes: 5 additions & 2 deletions doc/cygnus-ngsi/user_and_programmer_guide/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,18 @@ Warning: JAVA_HOME is not set!
Listening for transport dt_socket at address: 6006
```

## Attaching java jdb debugger
## Attaching java jdb debugger and set a breakpoint
```
jdb -attach 127.0.0.1:6006
```
```
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
Initializing jdb ...
>
> stop in com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.getPersistenceBackend
Set breakpoint com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.getPersistenceBackend
> run
Nothing suspended.
```

## Attaching IntelliJ debugger.
Expand Down
Loading