Skip to content

Commit

Permalink
Snapshot of debug code (only some works currently).
Browse files Browse the repository at this point in the history
From project/simple edit the new Main.scala class:
  vi src/main/scala/com/megaannum/Main.scala
Start Vimside:
  <Leader>vs
After Vimside is up, build the code:
  <Leader>vbb
Then start the debugger:
  <Leader>dd
Enter:
  com.megaannum.Main
as the class to run.
Goto some line and set a breakpoint:
  <Leader>db
That much works.
To stop be debugging session use:
  <Leader>dq
Note that be background debug Java process is NOT removed.
Do not know why at this point so you will have to kill it
manually.  Like I said, only some of it works.
  • Loading branch information
megaannum committed Sep 2, 2013
1 parent c31d538 commit f7f6823
Show file tree
Hide file tree
Showing 27 changed files with 266 additions and 217 deletions.
21 changes: 21 additions & 0 deletions README.md
Expand Up @@ -30,6 +30,27 @@ unit/regression tests in the future.

## Latest checkin

Snapshot of debug code (only some works currently).
From project/simple edit the new Main.scala class:
vi src/main/scala/com/megaannum/Main.scala
Start Vimside:
<Leader>vs
After Vimside is up, build the code:
<Leader>vbb
Then start the debugger:
<Leader>dd
Enter:
com.megaannum.Main
as the class to run.
Goto some line and set a breakpoint:
<Leader>db
That much works.
To stop be debugging session use:
<Leader>dq
Note that be background debug Java process is NOT removed.
Do not know why at this point so you will have to kill it
manually. Like I said, only some of it works.

Now Vimside supports either initialization with the Option files
'options_user.vim' and a project specific options file (and/) or
with Properties file 'vimside.properties' and a project specific
Expand Down
2 changes: 1 addition & 1 deletion autoload/vimside/actwin.vim
Expand Up @@ -1387,7 +1387,7 @@ function! s:Modify(org_data, new_data)
" register sign
let l:sign = a:new_data.display.scala.sign
if ! vimside#sign#HasCategory(l:sign.category)
vimside#sign#AddCategory(l:sign.category, l:sign)
call vimside#sign#AddCategory(l:sign.category, l:sign)
endif
endif

Expand Down

0 comments on commit f7f6823

Please sign in to comment.