Questions tagged [hot-code-replace]

11 questions
2
votes
1 answer

How can I set "hot code replace" when debugging python by pydev

I used eclipse+pydev as my python ide. I can't find the similar option like java debugger's "hot code replace". That is when debugging a python file, I updated the code, and then save the code, it should trigger the hot code replace. Such that, I…
1
vote
0 answers

Hot Code Replace can't work with spring-boot-starter-validation in VSCode

I have a Spring Boot project with a model class below: import javax.validation.constraints.*; import lombok.Data; @Data public class Item { @NotNull public int id; @NotNull @Email public String email; } Here is my API's…
Will Huang
  • 2,955
  • 2
  • 37
  • 90
1
vote
1 answer

Hot swapp vs Hot Code replace, what's the difference?

Im new to debbuging in java and i'm hearing these two terms used "Hot code replace" and "Hot swapping", from what i understood "hot swapping" is a feature in the actual jvm that can only replace code inside a method body. Whereas "hot code replace"…
1
vote
0 answers

Microservices with Karaf hot code replacement

I have a need to write a microservice and planning to use Karaf. I understand that Karaf is an OSGi based container for microservices to provide modularity. Now, my question is Suppose I write a REST-based/ extends BundleActivator service and…
Raj
  • 401
  • 6
  • 20
0
votes
0 answers

Hot code reloading in cpp with a dll and a virtual class

I want to implement hot code reloading in my program and it seems to work but I'm not sure if it is actually undefined behavior and I am just lucky. I have a base class shared between a dll and the main program. The dll has a function that returns a…
vlad alex
  • 26
  • 3
0
votes
1 answer

Practice at localhost contains obsolete methods, Reason: the virtual machine was unable to remove all stack frames running old code

Problem My code runs without problem but this prompt keeps appearing. I have run into this problem a lot but I just ignored it since the code runs fine. However it's starting to get rather annoying and all the fixes I saw online did not work. I…
Hello World
  • 191
  • 2
  • 9
0
votes
1 answer

Triggering the update message in Erlang hot code reload feature

I am trying the hot code feature of erlang following the guide from LYAE but i do not understand how to make the update message to get triggered. I have a module which runs a method that is…
Bercovici Adrian
  • 8,794
  • 17
  • 73
  • 152
0
votes
0 answers

Hot swaping Erlang port

I'm starting to learn Erlang which is an amazing language thanks to isolation, fault tolerance, function programming and hot swaping of the code. I could notice that to fix some performance issue sometimes I can use port to interact with C or other…
yosadi
  • 11
  • 1
0
votes
1 answer

How to enable hot code swap while debugging in eclipse and jboss when both code and the ear being deployed are on different remote machines?

The web application i am working on is very large and modularized, currently the ear is present as it is and not in exploded form on remote machine while the cod being debugged is on a different remote machine and i am unable to do a hot code…
0
votes
0 answers

Jigsaw hot reload

As I understand Java 9 modules are all about encapsulation and shading. Will they be about hot code reload too? As for me it looks like the future is not supposed to be ever implemented. Because it neither follow OSGI way (all Java 9 modules use…
VB_
  • 45,112
  • 42
  • 145
  • 293
0
votes
1 answer

Java hot-code-replace fails on static methods

Hot code replace works for me on instance methods, but not on static methods. I get this error Note that I am simply adding a println to the body of a static private or even public method, not changing any method modifiers, as suggested by the…
Joshua Fox
  • 18,704
  • 23
  • 87
  • 147