Skip to content

Commit 71e669d

Browse files
committed
accept pending breakpoints
1 parent dc5d385 commit 71e669d

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# gdbgui release history
22

3+
## master
4+
* Update Rust documentation
5+
* Run `set breakpoint pending on` on initial connection
6+
37
## 0.11.3.1
48
* Limit maximum Flask version to prevent `Session expired. Please refresh this webpage.` error
59
* Rename "premium" to "ad-free"

gdbgui/src/js/GdbApi.jsx

+5
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ const GdbApi = {
7171
)
7272
if (using_existing) {
7373
Actions.refresh_state_for_gdb_pause()
74+
}else{
75+
GdbApi.run_initial_commands()
7476
}
7577
})
7678

@@ -92,6 +94,9 @@ const GdbApi = {
9294
Actions.inferior_program_running()
9395
GdbApi.run_gdb_command('-exec-run')
9496
},
97+
run_initial_commands: function(){
98+
GdbApi.run_gdb_command('set breakpoint pending on')
99+
},
95100
inferior_is_paused: function() {
96101
return [constants.inferior_states.unknown, constants.inferior_states.paused].indexOf(store.get('inferior_program')) !== -1
97102
},

gdbgui/static/js/build.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)