* fixed conditional breakpoints bug #538
* updated the documentation on Debugger according to rainwarrior's edits, removed "Debugger Usage (Intermediate)" [[Split portion of a mixed commit.]]
This commit is contained in:
parent
395aae72c7
commit
bc347d475b
|
@ -34,7 +34,7 @@
|
||||||
* Primitive -> Number | Address | Register | Flag | PC Bank | '(' Connect ')'
|
* Primitive -> Number | Address | Register | Flag | PC Bank | '(' Connect ')'
|
||||||
* Number -> '#' [1-9A-F]*
|
* Number -> '#' [1-9A-F]*
|
||||||
* Address -> '$' [1-9A-F]* | '$' '[' Connect ']'
|
* Address -> '$' [1-9A-F]* | '$' '[' Connect ']'
|
||||||
* Register -> 'A' | 'X' | 'Y' | 'R'
|
* Register -> 'A' | 'X' | 'Y' | 'P'
|
||||||
* Flag -> 'N' | 'C' | 'Z' | 'I' | 'B' | 'V'
|
* Flag -> 'N' | 'C' | 'Z' | 'I' | 'B' | 'V'
|
||||||
* PC Bank -> 'K'
|
* PC Bank -> 'K'
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -298,7 +298,7 @@ BOOL CALLBACK AddbpCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
case IDOK:
|
case IDOK:
|
||||||
if (WP_edit >= 0) {
|
if (WP_edit >= 0) {
|
||||||
int tmp = NewBreakWindows(hwndDlg,WP_edit,(BOOL)(watchpoint[WP_edit].flags&WP_E));
|
int tmp = NewBreakWindows(hwndDlg,WP_edit,(BOOL)(watchpoint[WP_edit].flags&WP_E));
|
||||||
if (tmp == INVALID_BREAKPOINT_CONDITION)
|
if (tmp == 2 || tmp == INVALID_BREAKPOINT_CONDITION)
|
||||||
{
|
{
|
||||||
MessageBox(hwndDlg, "Invalid breakpoint condition", "Error", MB_OK);
|
MessageBox(hwndDlg, "Invalid breakpoint condition", "Error", MB_OK);
|
||||||
break;
|
break;
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue