* 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:
ansstuff 2012-09-05 15:25:10 +00:00
parent 395aae72c7
commit bc347d475b
4 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
* Primitive -> Number | Address | Register | Flag | PC Bank | '(' Connect ')'
* Number -> '#' [1-9A-F]*
* Address -> '$' [1-9A-F]* | '$' '[' Connect ']'
* Register -> 'A' | 'X' | 'Y' | 'R'
* Register -> 'A' | 'X' | 'Y' | 'P'
* Flag -> 'N' | 'C' | 'Z' | 'I' | 'B' | 'V'
* PC Bank -> 'K'
*/

View File

@ -298,7 +298,7 @@ BOOL CALLBACK AddbpCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
case IDOK:
if (WP_edit >= 0) {
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);
break;

Binary file not shown.

Binary file not shown.